Code

rebase: use plumbing to show dirty state
authorJeff King <peff@peff.net>
Wed, 9 Sep 2009 14:59:37 +0000 (10:59 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 12 Sep 2009 04:41:15 +0000 (21:41 -0700)
commit0c3d3ac352427738e7c4393c0a959e0e698a0c7a
tree2ca6e0610347e5d4fb0bae0b6cff3cdca2326053
parent25fc1786ab147daa9ffa43ebcbaf5c1cc6e50d4f
rebase: use plumbing to show dirty state

Commit 4cfbe06 introduced the use of "git diff" to show
dirty state in a format more familiar to users. However, it
should have used the plumbing "git diff-files" instead.

Not only is it good practice in general to use plumbing in
scripts, but in this case we really don't want the automatic
pager to kick in for an error message.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase.sh