upgrade git source code. (#2094)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-07-01 10:05:01 -05:00 committed by Lunny Xiao
parent eae9154811
commit 678fec3f6a
2 changed files with 4 additions and 4 deletions

2
vendor/code.gitea.io/git/commit.go generated vendored
View File

@ -54,7 +54,7 @@ func (c *Commit) Message() string {
// Summary returns first line of commit message. // Summary returns first line of commit message.
func (c *Commit) Summary() string { func (c *Commit) Summary() string {
return strings.Split(c.CommitMessage, "\n")[0] return strings.Split(strings.TrimSpace(c.CommitMessage), "\n")[0]
} }
// ParentID returns oid of n-th parent (0-based index). // ParentID returns oid of n-th parent (0-based index).

6
vendor/vendor.json vendored
View File

@ -3,10 +3,10 @@
"ignore": "test appengine", "ignore": "test appengine",
"package": [ "package": [
{ {
"checksumSHA1": "bjwnhCgzLl8EtrjX+vsz7POSaWw=", "checksumSHA1": "SOUGuO+W7WWYbek3gLKyp8ZG+L4=",
"path": "code.gitea.io/git", "path": "code.gitea.io/git",
"revision": "7c4fc4e5ca3aab313bbe68b4b19ca253830bc60f", "revision": "ef3ac5f3ff401e694c7371e393075a7d490e78d2",
"revisionTime": "2017-06-28T06:06:37Z" "revisionTime": "2017-07-01T13:51:17Z"
}, },
{ {
"checksumSHA1": "nLhT+bLMj8uLICP+EZbrdoQe6mM=", "checksumSHA1": "nLhT+bLMj8uLICP+EZbrdoQe6mM=",