mirror of
https://github.com/go-gitea/git.git
synced 2026-07-18 20:44:38 -04:00
[GH-ISSUE #72] GetCommitsInfo mishandles merge commits #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ethantkoenig on GitHub (Jun 27, 2017).
Original GitHub issue: https://github.com/go-gitea/git/issues/72
GetCommitInfosdoes not properly handle merge commits. In some cases, it will only traverse one parent of a merge commit. If this happens, it may reach the initial commit without finding a match for some entries. This could result in either an infinite loop, or a 500 (bad revision <hash>^).I'm hoping to have a fix soon.
GetCommitsInfo mishandles merge commitsto [GH-ISSUE #72] GetCommitsInfo mishandles merge commits