summaryrefslogtreecommitdiff
path: root/t/t6050-replace.sh
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2014-07-19 15:01:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-07-21 19:04:23 (GMT)
commit4228e8bc989c6cac1c47faece720faa06531281f (patch)
tree42305181bd4ffbb5f4d0c970309559eaf19c7a65 /t/t6050-replace.sh
parent1c2828c194bf4bc9dba2cc1f12cd0687263af94b (diff)
downloadgit-4228e8bc989c6cac1c47faece720faa06531281f.zip
git-4228e8bc989c6cac1c47faece720faa06531281f.tar.gz
git-4228e8bc989c6cac1c47faece720faa06531281f.tar.bz2
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 't/t6050-replace.sh')
0 files changed, 0 insertions, 0 deletions