contrib: add convert-grafts-to-replace-refs.sh
commitb0ab2b71d0baa845e6920a3146df65f5cd296ea0
authorChristian Couder <chriscool@tuxfamily.org>
Sat, 19 Jul 2014 15:01:11 +0000 (19 17:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Jul 2014 19:05:53 +0000 (21 12:05 -0700)
tree130af4c8c35e1cc3e2b72e306a8ceeaa65fcb8b4
parent78024c4e31d04cd2bdc0d734ede2d24bb33c72ef
contrib: add convert-grafts-to-replace-refs.sh

This patch adds into contrib/ an example script to convert
grafts from an existing grafts file into replace refs using
the new --graft option of "git replace".

While at it let's mention this new script in the
"git replace" documentation for the --graft option.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-replace.txt
contrib/convert-grafts-to-replace-refs.sh [new file with mode: 0755]