Code

improve missing repository error message
authorJeff King <peff@peff.net>
Wed, 4 Mar 2009 08:32:29 +0000 (03:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2009 04:37:21 +0000 (20:37 -0800)
commit05ac6b34e2c2adda5cb85dd0bdacb47fe5db953e
tree9c71ec4ed8d1c05c32c67b67e9750dc77f0333b8
parentaec0c1bbfb2d42659bb710bd79f8228ac59e1b0c
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 <peff@peff.net>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-receive-pack.c
builtin-upload-archive.c
daemon.c
upload-pack.c