Skip to content

Commit e52bec9

Browse files
committed
Merge branch 'po/maint-refs-replace-docs'
The refs/replace hierarchy was not mentioned in the repository-layout docs. * po/maint-refs-replace-docs: Doc repository-layout: Show refs/replace
2 parents 4f101a6 + 11fbe18 commit e52bec9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/gitrepository-layout.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ refs/remotes/`name`::
9393
records tip-of-the-tree commit objects of branches copied
9494
from a remote repository.
9595

96+
refs/replace/`<obj-sha1>`::
97+
records the SHA1 of the object that replaces `<obj-sha1>`.
98+
This is similar to info/grafts and is internally used and
99+
maintained by linkgit:git-replace[1]. Such refs can be exchanged
100+
between repositories while grafts are not.
101+
96102
packed-refs::
97103
records the same information as refs/heads/, refs/tags/,
98104
and friends record in a more efficient way. See

0 commit comments

Comments
 (0)