Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-rm: do not fail on already removed file.
author
Junio C Hamano
<junkio@cox.net>
Thu, 11 Jan 2007 22:58:47 +0000
(14:58 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 11 Jan 2007 22:58:47 +0000
(14:58 -0800)
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>
raw
|
patch
|
inline
| side by side (from:
646ac22
)
No differences found