Skip to content

Commit 4961418

Browse files
committed
improve the comment for IsSync
1 parent afb2be2 commit 4961418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/pull/pull.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ type TestPullRequestOptions struct {
376376
RepoID int64
377377
Doer *user_model.User
378378
Branch string
379-
IsSync bool // whether it's a pull request synchronization
379+
IsSync bool // True means it's a pull request synchronization, false means it's triggered for pull request merging or updating
380380
IsForcePush bool
381381
OldCommitID string
382382
NewCommitID string

0 commit comments

Comments
 (0)