]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rebase.c
builtin rebase: support --root
authorPratik Karki <predatoramigo@gmail.com>
Tue, 4 Sep 2018 22:00:12 +0000 (15:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Oct 2018 05:12:45 +0000 (14:12 +0900)
commit9dba809a69a7cd2a60e73d1ccaea0812b72b2b79
treea909037d46587f7d0ff4435b6ef82ee0c40a94ea
parentba1905a5fefd96b88beb28ba26a8edc6a2c3fe02
builtin rebase: support --root

This option allows to rebase entire histories up to, and including, the
root commit.

The conversion from the shell script is straight-forward, apart from
the fact that we do not have to write an empty tree in C.

Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c