Skip to content

Commit 0dc310e

Browse files
pccgitster
authored andcommitted
Documentation: git-filter-branch honors replacement refs
Make it clear that git-filter-branch will honor and make permanent replacement refs as well as grafts. Signed-off-by: Peter Collingbourne <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6e8e67f commit 0dc310e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/git-filter-branch.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ changes, which would normally have no effect. Nevertheless, this may be
3232
useful in the future for compensating for some git bugs or such,
3333
therefore such a usage is permitted.
3434

35-
*NOTE*: This command honors `.git/info/grafts`. If you have any grafts
36-
defined, running this command will make them permanent.
35+
*NOTE*: This command honors `.git/info/grafts` and `.git/refs/replace/`.
36+
If you have any grafts or replacement refs defined, running this command
37+
will make them permanent.
3738

3839
*WARNING*! The rewritten history will have different object names for all
3940
the objects and will not converge with the original branch. You will not

0 commit comments

Comments
 (0)