Update code.gitea.io/git (#3137)

This commit is contained in:
Ethan Koenig 2017-12-10 18:23:34 -08:00 committed by Lunny Xiao
parent 682ac11958
commit 58a7de2aea
31 changed files with 3274 additions and 405 deletions

2
vendor/code.gitea.io/git/repo.go generated vendored
View file

@ -283,5 +283,5 @@ func GetLatestCommitTime(repoPath string) (time.Time, error) {
return time.Time{}, err
}
commitTime := strings.TrimSpace(stdout)
return time.Parse("Mon Jan 02 15:04:05 2006 -0700", commitTime)
return time.Parse(GitTimeLayout, commitTime)
}