path: root/daemon.c
diff options
authorJeff King <>2009-03-04 08:32:29 (GMT)
committerJunio C Hamano <>2009-03-05 04:37:21 (GMT)
commit05ac6b34e2c2adda5cb85dd0bdacb47fe5db953e (patch)
tree9c71ec4ed8d1c05c32c67b67e9750dc77f0333b8 /daemon.c
parentaec0c1bbfb2d42659bb710bd79f8228ac59e1b0c (diff)
improve missing repository error message
Certain remote commands, when asked to do something in a particular directory that was not actually a git repository, would say "unable to chdir or not a git archive". The "chdir" bit is an unnecessary detail, and the term "git archive" is much less common these days than "git repository". So let's switch them all to: fatal: '%s' does not appear to be a git repository Signed-off-by: Jeff King <> Acked-by: Shawn O. Pearce <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'daemon.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index d93cf96..13401f1 100644
--- a/daemon.c
+++ b/daemon.c
@@ -229,7 +229,7 @@ static char *path_ok(char *directory)
if (!path) {
- logerror("'%s': unable to chdir or not a git archive", dir);
+ logerror("'%s' does not appear to be a git repository", dir);
return NULL;