summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 47d32af)
raw | patch | inline | side by side (parent: 47d32af)
author | Alex Riesen <raa.lkml@gmail.com> | |
Fri, 5 Dec 2008 00:36:46 +0000 (01:36 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 5 Dec 2008 02:05:51 +0000 (18:05 -0800) |
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>
git.c | patch | blob | history | |
setup.c | patch | blob | history |
index 9e5813cc92ebcaad6485091a24903bf14427ec57..940a498962ceb06a1dba85547d61ad62bb81a499 100644 (file)
--- a/git.c
+++ b/git.c
ret = 1;
}
- if (subdir)
- chdir(subdir);
+ if (subdir && chdir(subdir))
+ die("Cannot change to %s: %s", subdir, strerror(errno));
errno = saved_errno;