]> git.ipfire.org Git - thirdparty/git.git/blobdiff - setup.c
Merge branch 'es/outside-repo-errmsg-hints'
[thirdparty/git.git] / setup.c
diff --git a/setup.c b/setup.c
index 12228c0d9c1e3dfb91c474aba8e891f0836dc6d9..4ea7a0b081bfd20a87d413d887f6d6926dbde8ab 100644 (file)
--- a/setup.c
+++ b/setup.c
@@ -121,7 +121,8 @@ char *prefix_path(const char *prefix, int len, const char *path)
 {
        char *r = prefix_path_gently(prefix, len, NULL, path);
        if (!r)
-               die(_("'%s' is outside repository"), path);
+               die(_("'%s' is outside repository at '%s'"), path,
+                   absolute_path(get_git_work_tree()));
        return r;
 }