mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 03:29:43 +02:00
Update code.gitea.io/git (#1849)
This commit is contained in:
1 parent
31e8436a1c
commit
abb19eff39
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -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 + "^"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user