update git vendor to fix wrong release commit id and add migrations (#6224) (#6300)

This commit is contained in:
Lunny Xiao
2019-03-13 01:39:20 +08:00
committed by techknowlogick
parent c7bbfd8f5e
commit d0bbfd835f
10 changed files with 149 additions and 40 deletions

11
vendor/code.gitea.io/git/cache.go generated vendored Normal file
View File

@@ -0,0 +1,11 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package git
// LastCommitCache cache
type LastCommitCache interface {
Get(repoPath, ref, entryPath string) (*Commit, error)
Put(repoPath, ref, entryPath string, commit *Commit) error
}