Skip to content

Commit fcf0f48

Browse files
pks-tgitster
authored andcommitted
BreakingChanges: document removal of grafting
The grafting mechanism for objects has been deprecated in e650d06 (docs: mark info/grafts as outdated, 2014-03-05), which is more than a decade ago. The mechanism can lead to hard-to-debug issues and has a superior replacement with replace refs. Follow through with the deprecation and mark grafts for removal in Git 3.0. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6ccf041 commit fcf0f48

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Documentation/BreakingChanges.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,19 @@ Cf. <[email protected]>,
102102

103103
=== Removals
104104

105+
* Support for grafting commits has long been superseded by git-replace(1).
106+
Grafts are inferior to replacement refs:
107+
+
108+
** Grafts are a local-only mechanism and cannot be shared across
109+
repositories.
110+
** Grafts can lead to hard-to-diagnose problems when transferring objects
111+
between repositories.
112+
+
113+
The grafting mechanism has been marked as outdated since e650d0643b (docs: mark
114+
info/grafts as outdated, 2014-03-05) and will be removed.
115+
+
116+
117+
105118
== Superseded features that will not be deprecated
106119

107120
Some features have gained newer replacements that aim to improve the design in

0 commit comments

Comments
 (0)