diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-05-31 21:43:11 -0400 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-06-01 09:43:11 +0800 |
commit | abb19eff3979bd91b4a8c4495ac7609fcf00f6cb (patch) | |
tree | 067ba556b19d4d498ee5eb4b55172ee77559a576 /vendor/code.gitea.io/git | |
parent | 31e8436a1c21735a03400a37cfc2bf8675983d02 (diff) | |
download | gitea-abb19eff3979bd91b4a8c4495ac7609fcf00f6cb.tar.gz gitea-abb19eff3979bd91b4a8c4495ac7609fcf00f6cb.zip |
Update code.gitea.io/git (#1849)
Diffstat (limited to 'vendor/code.gitea.io/git')
-rw-r--r-- | vendor/code.gitea.io/git/tree_entry.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/code.gitea.io/git/tree_entry.go b/vendor/code.gitea.io/git/tree_entry.go index 58c5132460..7f454ab56c 100644 --- a/vendor/code.gitea.io/git/tree_entry.go +++ b/vendor/code.gitea.io/git/tree_entry.go @@ -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 + "^" } |