Revision 646ac22bdf7f7011bb4c77647053416e892ce64d authored by Junio C Hamano on 11 January 2007, 22:58:47 UTC, committed by Junio C Hamano on 11 January 2007, 22:58:47 UTC
Often the user would do "/bin/rm foo" before telling git, but
then want to tell git about it.  "git rm foo" however would fail
because it cannot unlink(2) foo.

Treat ENOENT error return from unlink(2) as if a successful
removal happened.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 3b97fee
History
File Mode Size
.gitignore -rw-r--r-- 47 bytes
Git.pm -rw-r--r-- 21.6 KB
Makefile -rw-r--r-- 1003 bytes
Makefile.PL -rw-r--r-- 588 bytes
private-Error.pm -rw-r--r-- 18.6 KB

back to top