We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30e1abb commit 0773956Copy full SHA for 0773956
services/repository/files/cherry_pick.go
@@ -47,7 +47,7 @@ func CherryPick(ctx context.Context, repo *repo_model.Repository, doer *user_mod
47
if err := t.Clone(ctx, opts.OldBranch, false); err != nil {
48
return nil, err
49
}
50
- if err := t.SetDefaultIndex(t.gitRepo.Ctx); err != nil {
+ if err := t.SetDefaultIndex(ctx); err != nil {
51
52
53
if err := t.RefreshIndex(ctx); err != nil {
0 commit comments