setup: allow for prefix to be passed to git commands
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index c887272b129968db161a152ce8a91aca4439ca3c..51bad4127412d5a7631afe0d03fbf6c9feeb9ba7 100644 (file)
--- a/git.c
+++ b/git.c
@@ -361,8 +361,6 @@ static int run_builtin(struct cmd_struct *p, int argc, const char **argv)
        if (!help && get_super_prefix()) {
                if (!(p->option & SUPPORT_SUPER_PREFIX))
                        die("%s doesn't support --super-prefix", p->cmd);
-               if (prefix)
-                       die("can't use --super-prefix from a subdirectory");
        }
 
        if (!help && p->option & NEED_WORK_TREE)