]> asedeno.scripts.mit.edu Git - git.git/blobdiff - shell.c
bisect: test merge base if good rev is not an ancestor of bad rev
[git.git] / shell.c
diff --git a/shell.c b/shell.c
index 91ca7de0827642fd949f861fca6991415853b1ce..0f6a727a8c267cdeb3a93c30bc688bb64ecd8003 100644 (file)
--- a/shell.c
+++ b/shell.c
@@ -3,19 +3,11 @@
 #include "exec_cmd.h"
 #include "strbuf.h"
 
-/* Stubs for functions that make no sense for git-shell. These stubs
- * are provided here to avoid linking in external redundant modules.
- */
-void release_pack_memory(size_t need, int fd){}
-void trace_argv_printf(const char **argv, const char *fmt, ...){}
-void trace_printf(const char *fmt, ...){}
-
-
 static int do_generic_cmd(const char *me, char *arg)
 {
        const char *my_argv[4];
 
-       setup_path(NULL);
+       setup_path();
        if (!arg || !(arg = sq_dequote(arg)))
                die("bad argument");
        if (prefixcmp(me, "git-"))
@@ -37,7 +29,7 @@ static int do_cvs_cmd(const char *me, char *arg)
        if (!arg || strcmp(arg, "server"))
                die("git-cvsserver only handles server: %s", arg);
 
-       setup_path(NULL);
+       setup_path();
        return execv_git_cmd(cvsserver_argv);
 }