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>
Jeff King committed
Mar 5, 2014 at 14:28 UTC
e650d0643b43c5681d7ef213aa070ea406eabf0a
2 files changed
+8
Documentation/gitrepository-layout.txt
+4
@@ -176,6 +176,10 @@ info/grafts::
176
per line describes a commit and its fake parents by
177
listing their 40-byte hexadecimal object names separated
178
by a space and terminated by a newline.
179
++
180
+Note that the grafts mechanism is outdated and can lead to problems
181
+transferring objects between repositories; see linkgit:git-replace[1]
182
+for a more flexible and robust system to do the same thing.
183
184
info/exclude::
185
This file, by convention among Porcelains, stores the
Documentation/glossary-content.txt
+4
@@ -176,6 +176,10 @@ current branch integrates with) obviously do not work, as there is no
176
you can make Git pretend the set of <<def_parent,parents>> a <<def_commit,commit>> has
177
is different from what was recorded when the commit was
178
created. Configured via the `.git/info/grafts` file.
179
++
180
+Note that the grafts mechanism is outdated and can lead to problems
181
+transferring objects between repositories; see linkgit:git-replace[1]
182
+for a more flexible and robust system to do the same thing.
183
184
[[def_hash]]hash::
185
In Git's context, synonym for <<def_object_name,object name>>.