summaryrefslogtreecommitdiff
path: root/builtin-apply.c
diff options
context:
space:
mode:
authorLibravatar Pauli Virtanen <pav@iki.fi>2009-10-10 18:51:45 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-10-10 14:56:13 -0700
commitb145b211baa4129a827cc1b1b1a7984523b8f903 (patch)
treea8c0f81923c408dc247f42c96e254cf4a6f34649 /builtin-apply.c
parentls-files: die instead of fprintf/exit in -i error (diff)
downloadtgif-b145b211baa4129a827cc1b1b1a7984523b8f903.tar.xz
git-add--interactive: never skip files included in index
Make "git add -p" to not skip files that are in index even if they are excluded (by .gitignore etc.). This fixes the contradictory behavior that "git status" and "git commit -a" listed such files as modified, but "git add -p FILENAME" ignored them. Signed-off-by: Pauli Virtanen <pav@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-apply.c')
0 files changed, 0 insertions, 0 deletions