X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=rev-parse.c;h=5a989825113b122d130448726c8eb97ffeb21ad1;hb=90279074ca5cc336a8bfffd47d19d089b291b432;hp=adfc68c9be7b5ff2a8b576837048f4e9c034207b;hpb=5ef1862ad4a783bf25adb97298bb24261e8152fe;p=git.git diff --git a/rev-parse.c b/rev-parse.c index adfc68c9..5a989825 100644 --- a/rev-parse.c +++ b/rev-parse.c @@ -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();