mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
docs: mark info/grafts as outdated
We should be encouraging people to use git-replace instead. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
5f95c9f850
commit
e650d0643b
|
@ -176,6 +176,10 @@ info/grafts::
|
|||
per line describes a commit and its fake parents by
|
||||
listing their 40-byte hexadecimal object names separated
|
||||
by a space and terminated by a newline.
|
||||
+
|
||||
Note that the grafts mechanism is outdated and can lead to problems
|
||||
transferring objects between repositories; see linkgit:git-replace[1]
|
||||
for a more flexible and robust system to do the same thing.
|
||||
|
||||
info/exclude::
|
||||
This file, by convention among Porcelains, stores the
|
||||
|
|
|
@ -176,6 +176,10 @@ current branch integrates with) obviously do not work, as there is no
|
|||
you can make Git pretend the set of <<def_parent,parents>> a <<def_commit,commit>> has
|
||||
is different from what was recorded when the commit was
|
||||
created. Configured via the `.git/info/grafts` file.
|
||||
+
|
||||
Note that the grafts mechanism is outdated and can lead to problems
|
||||
transferring objects between repositories; see linkgit:git-replace[1]
|
||||
for a more flexible and robust system to do the same thing.
|
||||
|
||||
[[def_hash]]hash::
|
||||
In Git's context, synonym for <<def_object_name,object name>>.
|
||||
|
|
Loading…
Reference in a new issue