builtin-rm.c: explain and clarify the "local change" logic
commit69530cb0c0d5f08dac9bedff56c164b7370f9931
authorJunio C Hamano <gitster@pobox.com>
Sat, 29 Nov 2008 02:41:21 +0000 (28 18:41 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 29 Nov 2008 02:41:21 +0000 (28 18:41 -0800)
tree86bffe4935ed7670442b7775f67b39ceea35934b
parentfe60dff744aa9fc7440de0a521e8be71ec35a059
builtin-rm.c: explain and clarify the "local change" logic

Explain the logic to check local modification a bit more in the comment,
especially because the existing comment that talks about "git rm --cached"
was placed in a part that was not about "--cached" at all.

Also clarify "if .. else if .." structure.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-rm.c