diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-10-14 19:50:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-14 19:50:02 +0200 |
commit | 63434da0b4966894b5b812965cb3ada3d4101d6c (patch) | |
tree | f4d1ce4ad41321ae7d9bbfd5544e76368e8f493f /builtin | |
parent | Merge branch 'rs/sha1-array-test' (diff) | |
parent | mailsplit: remove unnecessary unlink(2) call (diff) | |
download | git-63434da0b4966894b5b812965cb3ada3d4101d6c.tar.xz git-63434da0b4966894b5b812965cb3ada3d4101d6c.zip |
Merge branch 'rs/mailsplit'
* rs/mailsplit:
mailsplit: remove unnecessary unlink(2) call
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/mailsplit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/mailsplit.c b/builtin/mailsplit.c index 763cda098c..8e02ea109a 100644 --- a/builtin/mailsplit.c +++ b/builtin/mailsplit.c @@ -59,7 +59,6 @@ static int split_one(FILE *mbox, const char *name, int allow_bare) int is_bare = !is_from_line(buf.buf, buf.len); if (is_bare && !allow_bare) { - unlink(name); fprintf(stderr, "corrupt mailbox\n"); exit(1); } |