list-objects-filter-options: fix function name in BUG
Fix the function name we give in the BUG message. It's "config", not "choice". Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
898f80736c
commit
5a923bb1f0
@ -35,7 +35,7 @@ const char *list_object_filter_config_name(enum list_objects_filter_choice c)
|
|||||||
/* not a real filter type; just the count of all filters */
|
/* not a real filter type; just the count of all filters */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
BUG("list_object_filter_choice_name: invalid argument '%d'", c);
|
BUG("list_object_filter_config_name: invalid argument '%d'", c);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user