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 { func logCommand(exclusiveStartHash string, state *getCommitInfoState) *Command {
var commitHash string var commitHash string
if len(exclusiveStartHash) == 0 { if len(exclusiveStartHash) == 0 {
commitHash = "HEAD" commitHash = state.headCommit.ID.String()
} else { } else {
commitHash = exclusiveStartHash + "^" commitHash = exclusiveStartHash + "^"
} }

6
vendor/vendor.json vendored
View file

@ -3,10 +3,10 @@
"ignore": "test appengine", "ignore": "test appengine",
"package": [ "package": [
{ {
"checksumSHA1": "iqK8QebzwEcNL2iIRpMAOYwb7Zg=", "checksumSHA1": "XfPYMmq34V2MFja1HC7nnYU5SAc=",
"path": "code.gitea.io/git", "path": "code.gitea.io/git",
"revision": "c98a6f353a13546ae13e7391020cadd750181585", "revision": "7b07391b09e9642f470b134c2a5e35ee7d0d3491",
"revisionTime": "2017-05-29T11:48:12Z" "revisionTime": "2017-06-01T00:33:00Z"
}, },
{ {
"checksumSHA1": "nLhT+bLMj8uLICP+EZbrdoQe6mM=", "checksumSHA1": "nLhT+bLMj8uLICP+EZbrdoQe6mM=",