builtin rebase: require a clean worktree
authorPratik Karki <redacted>
Tue, 4 Sep 2018 21:27:14 +0000 (14:27 -0700)
committerJunio C Hamano <redacted>
Thu, 6 Sep 2018 18:55:43 +0000 (11:55 -0700)
commite0333e5c63f347c5032fde05bddf711061e55e59
tree4f50add2017576fcc2172dc64cec98bc58c78301
parentbff014dac7d949f9a0b42ab256e04ecf1b4b9bb6
builtin rebase: require a clean worktree

This commit reads the index of the repository for rebase and checks
whether the repository is ready for rebase.

Signed-off-by: Pratik Karki <redacted>
Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/rebase.c
git clone https://git.99rst.org/PROJECT