Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2022-05-17 17:33:46 +0300
committerJohn Cai <jcai@gitlab.com>2022-05-17 17:33:46 +0300
commit9d6e877727a092094c2900a5db7ddae1a9969904 (patch)
treec9ef3394207a492fe5a827ecfeb8be5359778e10
parentab0e402a9e910d99b13ef3f1631844d5fa386c97 (diff)
parent9645623a23b51be7d1525e765d532bef198380df (diff)
Merge branch 'pks-git-sync-internal-ref-prefixes' into 'master'
git: Sync internal namespaces with distros' settings Closes #4237 See merge request gitlab-org/gitaly!4562
-rw-r--r--internal/git/reference.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/git/reference.go b/internal/git/reference.go
index 8f2c34981..66cf70883 100644
--- a/internal/git/reference.go
+++ b/internal/git/reference.go
@@ -15,6 +15,8 @@ var InternalRefPrefixes = [...]string{
"refs/keep-around/",
"refs/merge-requests/",
"refs/pipelines/",
+ "refs/remotes/",
+ "refs/tmp/",
}
// Revision represents anything that resolves to either a commit, multiple