rebase: consistent error messages for staged and unstaged changes.
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Wed, 5 Aug 2009 14:56:25 +0000 (16:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Aug 2009 20:34:50 +0000 (13:34 -0700)
commit4cfbe06fc788aad7bb4e5ea0c2c93345840acc28
tree1ddbe9599642fe62d5821fb3a1c120cd7d2944f0
parent18b07930363d54778e616f1b86de8ccd5ebe88fc
rebase: consistent error messages for staged and unstaged changes.

Previous version expose the output of the plumbing update-index to the
user, which novice users have difficulty to understand.

We still need to run update-index to refresh the cache (if
diff.autorefreshindex is false, git diff won't do it).

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase.sh