diff options
Diffstat (limited to 'modules/git/repo_branch.go')
-rw-r--r-- | modules/git/repo_branch.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/git/repo_branch.go b/modules/git/repo_branch.go index 3bb6ef5223..5958093975 100644 --- a/modules/git/repo_branch.go +++ b/modules/git/repo_branch.go @@ -14,14 +14,6 @@ import ( // BranchPrefix base dir of the branch information file store on git const BranchPrefix = "refs/heads/" -// AGit Flow - -// PullRequestPrefix special ref to create a pull request: refs/for/<targe-branch>/<topic-branch> -// or refs/for/<targe-branch> -o topic='<topic-branch>' -const PullRequestPrefix = "refs/for/" - -// TODO: /refs/for-review for suggest change interface - // IsReferenceExist returns true if given reference exists in the repository. func IsReferenceExist(ctx context.Context, repoPath, name string) bool { _, _, err := NewCommand(ctx, "show-ref", "--verify").AddDashesAndList(name).RunStdString(&RunOpts{Dir: repoPath}) |