X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=setup.c;h=6b277b6a11d3d8419d79a93628b9923001a065a6;hb=9003dd40272e556288129272655e654bd33e6fa5;hp=833ced2269ae45b08f381fb2644b74f47cf50d1a;hpb=efe05b019ca19328d27c07ef32b4698a7f36166f;p=git.git diff --git a/setup.c b/setup.c index 833ced226..6b277b6a1 100644 --- a/setup.c +++ b/setup.c @@ -468,7 +468,7 @@ const char *setup_git_directory_gently(int *nongit_ok) *nongit_ok = 1; return NULL; } - die("Not a git repository"); + die("Not a git repository (or any of the parent directories): %s", DEFAULT_GIT_DIR_ENVIRONMENT); } if (chdir("..")) die("Cannot change to %s/..: %s", cwd, strerror(errno));