Give python a chance to find "backported" modules
[git.git] / rev-parse.c
index adfc68c..5a98982 100644 (file)
@@ -34,6 +34,7 @@ static int is_rev_argument(const char *arg)
        static const char *rev_args[] = {
                "--all",
                "--bisect",
+               "--dense",
                "--header",
                "--max-age=",
                "--max-count=",
@@ -44,6 +45,7 @@ static int is_rev_argument(const char *arg)
                "--parents",
                "--pretty",
                "--show-breaks",
+               "--sparse",
                "--topo-order",
                "--unpacked",
                NULL
@@ -292,6 +294,7 @@ int main(int argc, char **argv)
                }
                if (verify)
                        die("Needed a single revision");
+               as_is = 1;
                show_file(arg);
        }
        show_default();