]> git.ipfire.org Git - thirdparty/git.git/commit - add-patch.c
built-in add -p: show helpful hint when nothing can be staged
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 13 Dec 2019 08:08:06 +0000 (08:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Dec 2019 20:37:14 +0000 (12:37 -0800)
commit2e4083198d1508206488af4c82093ceb6cf20f4e
tree2e575d9eb7ba691a96efd9be918f9e4f214219c3
parent54d9d9b2eebe1c8f8b54626f98a5e1414ce766ba
built-in add -p: show helpful hint when nothing can be staged

This patch will make `git add -p` show "No changes." or "Only binary
files changed." in that case.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
add-patch.c