mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-29 13:57:52 +08:00
Update code.gitea.io/git (#1849)
This commit is contained in:
2
vendor/code.gitea.io/git/tree_entry.go
generated
vendored
2
vendor/code.gitea.io/git/tree_entry.go
generated
vendored
@ -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