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:
parent
26607a1690
commit
c65cbffac7
2 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,7 @@ class Repository
|
|||
RESERVED_REFS_NAMES = %W[
|
||||
heads
|
||||
tags
|
||||
replace
|
||||
#{REF_ENVIRONMENTS}
|
||||
#{REF_KEEP_AROUND}
|
||||
#{REF_ENVIRONMENTS}
|
||||
|
|
5
changelogs/unreleased/38234-reserve-refs-replace.yml
Normal file
5
changelogs/unreleased/38234-reserve-refs-replace.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Also reserve refs/replace after importing a project
|
||||
merge_request: 14436
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in a new issue