diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2014-07-19 17:01:08 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-21 12:04:23 -0700 |
commit | 4228e8bc989c6cac1c47faece720faa06531281f (patch) | |
tree | 42305181bd4ffbb5f4d0c970309559eaf19c7a65 /git-instaweb.sh | |
parent | replace: cleanup redirection style in tests (diff) | |
download | tgif-4228e8bc989c6cac1c47faece720faa06531281f.tar.xz |
replace: add --graft option
The usage string for this option is:
git replace [-f] --graft <commit> [<parent>...]
First we create a new commit that is the same as <commit>
except that its parents are [<parents>...]
Then we create a replace ref that replace <commit> with
the commit we just created.
With this new option, it should be straightforward to
convert grafts to replace refs.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-instaweb.sh')
0 files changed, 0 insertions, 0 deletions