summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-05-31 21:43:11 -0400
committerLunny Xiao <xiaolunwen@gmail.com>2017-06-01 09:43:11 +0800
commitabb19eff3979bd91b4a8c4495ac7609fcf00f6cb (patch)
tree067ba556b19d4d498ee5eb4b55172ee77559a576 /vendor
parent31e8436a1c21735a03400a37cfc2bf8675983d02 (diff)
downloadgitea-abb19eff3979bd91b4a8c4495ac7609fcf00f6cb.tar.gz
gitea-abb19eff3979bd91b4a8c4495ac7609fcf00f6cb.zip
Update code.gitea.io/git (#1849)
Diffstat (limited to 'vendor')
-rw-r--r--vendor/code.gitea.io/git/tree_entry.go2
-rw-r--r--vendor/vendor.json6
2 files changed, 4 insertions, 4 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 + "^"
}
diff --git a/vendor/vendor.json b/vendor/vendor.json
index 2a910aef1b..993effceff 100644
--- a/vendor/vendor.json
+++ b/vendor/vendor.json
@@ -3,10 +3,10 @@
"ignore": "test appengine",
"package": [
{
- "checksumSHA1": "iqK8QebzwEcNL2iIRpMAOYwb7Zg=",
+ "checksumSHA1": "XfPYMmq34V2MFja1HC7nnYU5SAc=",
"path": "code.gitea.io/git",
- "revision": "c98a6f353a13546ae13e7391020cadd750181585",
- "revisionTime": "2017-05-29T11:48:12Z"
+ "revision": "7b07391b09e9642f470b134c2a5e35ee7d0d3491",
+ "revisionTime": "2017-06-01T00:33:00Z"
},
{
"checksumSHA1": "nLhT+bLMj8uLICP+EZbrdoQe6mM=",