lstat_cache(): print a warning if doing ping-pong between cache types
[gitweb.git] / update-server-info.c
index 0b6c3835bd19241ff447c37f442de75791186020..7b38fd867bba6f8b8dcf9f2094769314b7f23e02 100644 (file)
@@ -1,7 +1,8 @@
 #include "cache.h"
+#include "exec_cmd.h"
 
 static const char update_server_info_usage[] =
-"git-update-server-info [--force]";
+"git update-server-info [--force]";
 
 int main(int ac, char **av)
 {
@@ -19,6 +20,8 @@ int main(int ac, char **av)
        if (i != ac)
                usage(update_server_info_usage);
 
+       git_extract_argv0_path(av[0]);
+
        setup_git_directory();
 
        return !!update_server_info(force);