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>
Martin Ågren committed
Nov 14, 2020 at 09:43 UTC
5a923bb1f0f1ba01f8845dd7dc78bb354e8c79bc
1 file changed
+1
-1
list-objects-filter-options.c
+1
-1
@@ -35,7 +35,7 @@ const char *list_object_filter_config_name(enum list_objects_filter_choice c)
35
/* not a real filter type; just the count of all filters */
36
break;
37
}
38
- BUG("list_object_filter_choice_name: invalid argument '%d'", c);
38
+ BUG("list_object_filter_config_name: invalid argument '%d'", c);
39
}
40
41
/*