]> git.ipfire.org Git - thirdparty/git.git/commitdiff
list-objects-filter-options: fix function name in BUG
authorMartin Ågren <martin.agren@gmail.com>
Sat, 14 Nov 2020 08:43:26 +0000 (09:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Nov 2020 22:28:25 +0000 (14:28 -0800)
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>
list-objects-filter-options.c

index defd3dfd101f414c5708dc576ff4b7fac8a058a3..d2d1c81caf33fdc12eea412dd428bfe80ee36103 100644 (file)
@@ -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 */
                break;
        }
-       BUG("list_object_filter_choice_name: invalid argument '%d'", c);
+       BUG("list_object_filter_config_name: invalid argument '%d'", c);
 }
 
 /*