Reserve refs/replace cos git-replace is using it

See:
* https://www.kernel.org/pub/software/scm/git/docs/git-replace.html
* https://git-scm.com/book/en/v2/Git-Tools-Replace
This commit is contained in:
Lin Jen-Shin 2017-09-22 16:18:59 +08:00
parent 26607a1690
commit c65cbffac7
2 changed files with 6 additions and 0 deletions

View file

@ -8,6 +8,7 @@ class Repository
RESERVED_REFS_NAMES = %W[
heads
tags
replace
#{REF_ENVIRONMENTS}
#{REF_KEEP_AROUND}
#{REF_ENVIRONMENTS}

View file

@ -0,0 +1,5 @@
---
title: Also reserve refs/replace after importing a project
merge_request: 14436
author:
type: fixed