[PATCH v3 08/11] filter-branch: stop suggesting to use grafts
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 20, 2018, 22:25 UTC
- Message-ID
- <8c0bcade20cf0b475f9b3d15f9dfad37d3ad6d4f.1524262793.git.johannes.schindelin@gmx.de>
- In-Reply-To
- <cover.1524262793.git.johannes.schindelin@gmx.de>
The graft file is deprecated now, so let's use replace refs in the example in filter-branch's man page instead.
Suggested-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --- Documentation/git-filter-branch.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt index b634043183b..1d4d2f86045 100644 --- a/Documentation/git-filter-branch.txt +++ b/Documentation/git-filter-branch.txt @@ -288,7 +288,7 @@ git filter-branch --parent-filter \ or even simpler: ----------------------------------------------- -echo "$commit-id $graft-id" >> .git/info/grafts +git replace --graft $commit-id $graft-id git filter-branch $graft-id..HEAD -----------------------------------------------
-- 2.17.0.windows.1.15.gaa56ade3205