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

This commit is contained in:
Ethan Koenig authored and Lunny Xiao committed 2017-06-01 09:43:11 +08:00
1 parent 31e8436a1c
commit abb19eff39
2 files changed
+4 -4

No files matched your search

+1 -1
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 + "^"
}