summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 691f1a2)
raw | patch | inline | side by side (parent: 691f1a2)
author | Alex Riesen <raa.lkml@gmail.com> | |
Wed, 29 Apr 2009 21:24:52 +0000 (23:24 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 30 Apr 2009 01:37:42 +0000 (18:37 -0700) |
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c | patch | blob | history |
diff --git a/builtin-clone.c b/builtin-clone.c
index 880373f279dd073ea7f0ae8564daca1cc687e529..ba286e0160c494244810334e3a0b43a59756e84a 100644 (file)
--- a/builtin-clone.c
+++ b/builtin-clone.c
}
if (unlink(dest->buf) && errno != ENOENT)
- die("failed to unlink %s", dest->buf);
+ die("failed to unlink %s: %s",
+ dest->buf, strerror(errno));
if (!option_no_hardlinks) {
if (!link(src->buf, dest->buf))
continue;