Merge branch 'pb/maint-1.6.2-userdiff-fix' into maint
[git.git] / builtin-upload-archive.c
index f6c4c0f149801c2d423f7ed1740a6fe9b03cf8df..c4cd1e1327f18ae27b74fac6dfd41938cd9dfe5d 100644 (file)
@@ -35,7 +35,7 @@ static int run_upload_archive(int argc, const char **argv, const char *prefix)
        strcpy(buf, argv[1]); /* enter-repo smudges its argument */
 
        if (!enter_repo(buf, 0))
-               die("not a git archive");
+               die("'%s' does not appear to be a git repository", buf);
 
        /* put received options in sent_argv[] */
        sent_argc = 1;