summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 80d706a)
raw | patch | inline | side by side (parent: 80d706a)
author | Peter Collingbourne <peter@pcc.me.uk> | |
Fri, 26 Mar 2010 15:25:35 +0000 (15:25 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 28 Mar 2010 16:53:05 +0000 (09:53 -0700) |
The errno test is redundant because the same test is carried
out in remove_path itself.
Signed-off-by: Peter Collingbourne <peter@pcc.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
out in remove_path itself.
Signed-off-by: Peter Collingbourne <peter@pcc.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-recursive.c | patch | blob | history |
diff --git a/merge-recursive.c b/merge-recursive.c
index 195ebf974435b0b08cd2be0f54c137218034008b..87232b899d8ab12c2f3c6704a9a1ca12d4a9f286 100644 (file)
--- a/merge-recursive.c
+++ b/merge-recursive.c
return -1;
}
if (update_working_directory) {
- if (remove_path(path) && errno != ENOENT)
+ if (remove_path(path))
return -1;
}
return 0;