Skip to content

Commit 766f2f0

Browse files
mjggitster
authored andcommitted
describe: pass --debug down to name-rev
Now that name-rev knows --debug, pass that flag down to name-rev when we call it for doing describe --contains. Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2b01f49 commit 766f2f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

builtin/describe.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,8 @@ int cmd_describe(int argc, const char **argv, const char *prefix)
486486
NULL);
487487
if (always)
488488
argv_array_push(&args, "--always");
489+
if (debug)
490+
argv_array_push(&args, "--debug");
489491
if (!all) {
490492
argv_array_push(&args, "--tags");
491493
for_each_string_list_item(item, &patterns)

0 commit comments

Comments
 (0)