1
0
Fork 0
forked from forgejo/forgejo

Update code.gitea.io/git (#1849)

This commit is contained in:
Ethan Koenig 2017-05-31 21:43:11 -04:00 committed by Lunny Xiao
parent 31e8436a1c
commit abb19eff39
2 changed files with 4 additions and 4 deletions

View file

@ -266,7 +266,7 @@ func getNextCommitInfos(state *getCommitInfoState) error {
func logCommand(exclusiveStartHash string, state *getCommitInfoState) *Command {
var commitHash string
if len(exclusiveStartHash) == 0 {
commitHash = "HEAD"
commitHash = state.headCommit.ID.String()
} else {
commitHash = exclusiveStartHash + "^"
}