describe: match pattern for lightweight tags too
[gitweb.git] / receive-pack.c
index a971433db155bbac162cece038b73dc64e682ac0..f83ae87e150ff93728da989f1d35ce0ad7c10f60 100644 (file)
@@ -471,6 +471,8 @@ int main(int argc, char **argv)
        if (!dir)
                usage(receive_pack_usage);
 
+       setup_path(NULL);
+
        if (!enter_repo(dir, 0))
                die("'%s': unable to chdir or not a git archive", dir);