git-rm: honor -n flag.
authorJunio C Hamano <junkio@cox.net>
Fri, 9 Jun 2006 04:11:25 +0000 (21:11 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 9 Jun 2006 04:11:25 +0000 (21:11 -0700)
commit7612a1efdb0c0806b43db10ce784707aae874340
tree9e664ed75be002a4457db4a5843820149fa860df
parent2048bb00ee3937808ce9f0c8f59d71a9b46ab56f
git-rm: honor -n flag.

Even when invoked with -n flag, git-rm removed the matching
paths anyway.  Also includes the missing check spotted by
SungHyun Nam, which caused it to segfault.  Now we refuse to run
without any paths.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-rm.c