diff options
| author | Junio C Hamano <junkio@cox.net> | 2007-01-11 14:58:47 -0800 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2007-01-11 14:58:47 -0800 |
| commit | 646ac22bdf7f7011bb4c77647053416e892ce64d (patch) | |
| tree | d7a292aecfab6d0522fba899e3ad31231f350676 /commit.c | |
| parent | Avoid errors and warnings when attempting to do I/O on zero bytes (diff) | |
| download | git-646ac22bdf7f7011bb4c77647053416e892ce64d.tar.gz git-646ac22bdf7f7011bb4c77647053416e892ce64d.zip | |
git-rm: do not fail on already removed file.
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>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
