forked from forgejo/forgejo
This reverts commit e4238583db
.
Refs: https://codeberg.org/forgejo/forgejo/issues/395
This commit is contained in:
parent
cd299fc44d
commit
cb7ea004ee
9 changed files with 145 additions and 228 deletions
|
@ -60,7 +60,7 @@ var patchErrorSuffices = []string{
|
|||
|
||||
// TestPatch will test whether a simple patch will apply
|
||||
func TestPatch(pr *issues_model.PullRequest) error {
|
||||
ctx, _, finished := process.GetManager().AddContext(graceful.GetManager().HammerContext(), fmt.Sprintf("TestPatch: %s", pr))
|
||||
ctx, _, finished := process.GetManager().AddContext(graceful.GetManager().HammerContext(), fmt.Sprintf("TestPatch: Repo[%d]#%d", pr.BaseRepoID, pr.Index))
|
||||
defer finished()
|
||||
|
||||
// Clone base repo.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue