mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 08:38:29 +00:00
chore: upgrade gitea/git version (#3240)
ref: https://github.com/go-gitea/gitea/pull/3190
This commit is contained in:
parent
7b28154e8b
commit
456648adac
4
vendor/code.gitea.io/git/commit_info.go
generated
vendored
4
vendor/code.gitea.io/git/commit_info.go
generated
vendored
|
@ -79,7 +79,7 @@ func targetedSearch(state *getCommitsInfoState, done chan error) {
|
||||||
done <- nil
|
done <- nil
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
command := NewCommand("rev-list", "-1", "HEAD", "--", entryPath)
|
command := NewCommand("rev-list", "-1", state.headCommit.ID.String(), "--", entryPath)
|
||||||
output, err := command.RunInDir(state.headCommit.repo.Path)
|
output, err := command.RunInDir(state.headCommit.repo.Path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
done <- err
|
done <- err
|
||||||
|
@ -192,7 +192,7 @@ func getCommitsInfo(state *getCommitsInfoState) error {
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Minute)
|
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Minute)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
args := []string{"log", getCommitsInfoPretty, "--name-status", "-c"}
|
args := []string{"log", state.headCommit.ID.String(), getCommitsInfoPretty, "--name-status", "-c"}
|
||||||
if len(state.treePath) > 0 {
|
if len(state.treePath) > 0 {
|
||||||
args = append(args, "--", state.treePath)
|
args = append(args, "--", state.treePath)
|
||||||
}
|
}
|
||||||
|
|
6
vendor/vendor.json
vendored
6
vendor/vendor.json
vendored
|
@ -3,10 +3,10 @@
|
||||||
"ignore": "test appengine",
|
"ignore": "test appengine",
|
||||||
"package": [
|
"package": [
|
||||||
{
|
{
|
||||||
"checksumSHA1": "UnJFMWkh0ulYlOV0etJYgt5SzJY=",
|
"checksumSHA1": "4OG03XZWTU5eUkWPTOwIB6H4BF0=",
|
||||||
"path": "code.gitea.io/git",
|
"path": "code.gitea.io/git",
|
||||||
"revision": "4768133d10fa395278f545f3bf3ce44552b30ad6",
|
"revision": "4573c63ec9c8257caf11e361c238b6ceb53781d7",
|
||||||
"revisionTime": "2017-12-10T10:06:09Z"
|
"revisionTime": "2017-12-20T02:56:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "QQ7g7B9+EIzGjO14KCGEs9TNEzM=",
|
"checksumSHA1": "QQ7g7B9+EIzGjO14KCGEs9TNEzM=",
|
||||||
|
|
Loading…
Reference in a new issue