add -p: warn if only binary changes present
authorThomas Rast <redacted>
Sun, 26 Oct 2008 19:37:06 +0000 (20:37 +0100)
committerJunio C Hamano <redacted>
Sun, 26 Oct 2008 23:20:24 +0000 (16:20 -0700)
commit9fe7a643fcc56ca1c17afec5d5f8adca10cabdd1
tree1a72b3688ddd7ad12664b26c9507cec1d16c37cf
parentddff8563510a2c5c675d488a02e2642306430fc1
add -p: warn if only binary changes present

Current 'git add -p' will say "No changes." if there are no changes to
text files, which can be confusing if there _are_ changes to binary
files.  Add some code to distinguish the two cases, and give a
different message in the latter one.

Signed-off-by: Thomas Rast <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-add--interactive.perl
git clone https://git.99rst.org/PROJECT