docs: mark info/grafts as outdated
authorJeff King <peff@peff.net>
Wed, 5 Mar 2014 19:28:38 +0000 (14:28 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Mar 2014 20:24:01 +0000 (12:24 -0800)
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>
Documentation/gitrepository-layout.txt
Documentation/glossary-content.txt
index aa03882ddb119d2e61da50079a72e1a6ab12f636..17d2ea6c1e48733d85a8caa49f6143c76edb09aa 100644 (file)
@@ -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
index 378306f58162fdfee900b48b8bb6ad8171cbfca3..be0858c188184eb510688ffc0598664541c1d10c 100644 (file)
@@ -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>>.