Re: [PATCH v3 4/4] contrib: add convert-grafts-to-replace-refs.sh

2014-06-06 Thread Christian Couder
On Thu, Jun 5, 2014 at 11:55 PM, Junio C Hamano wrote: > Christian Couder writes: > >> diff --git a/contrib/convert-grafts-to-replace-refs.sh >> b/contrib/convert-grafts-to-replace-refs.sh >> new file mode 100755 >> index 000..8472879 >> --- /dev/null >> +++ b/contrib/convert-grafts-to-repla

Re: [PATCH v3 4/4] contrib: add convert-grafts-to-replace-refs.sh

2014-06-05 Thread Junio C Hamano
Christian Couder writes: > diff --git a/contrib/convert-grafts-to-replace-refs.sh > b/contrib/convert-grafts-to-replace-refs.sh > new file mode 100755 > index 000..8472879 > --- /dev/null > +++ b/contrib/convert-grafts-to-replace-refs.sh > @@ -0,0 +1,29 @@ > +#!/bin/sh > + > +# You should ex

[PATCH v3 4/4] contrib: add convert-grafts-to-replace-refs.sh

2014-06-04 Thread Christian Couder
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 ---