Skip to content

Commit

Permalink
Merge branch 'po/maint-refs-replace-docs' into maint
Browse files Browse the repository at this point in the history
The refs/replace hierarchy was not mentioned in the
repository-layout docs.

* po/maint-refs-replace-docs:
  Doc repository-layout: Show refs/replace
  • Loading branch information
Junio C Hamano committed Nov 19, 2012
2 parents 611addf + 11fbe18 commit b98769e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/gitrepository-layout.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ refs/remotes/`name`::
records tip-of-the-tree commit objects of branches copied
from a remote repository.

refs/replace/`<obj-sha1>`::
records the SHA1 of the object that replaces `<obj-sha1>`.
This is similar to info/grafts and is internally used and
maintained by linkgit:git-replace[1]. Such refs can be exchanged
between repositories while grafts are not.

packed-refs::
records the same information as refs/heads/, refs/tags/,
and friends record in a more efficient way. See
Expand Down

0 comments on commit b98769e

Please sign in to comment.