aboutsummaryrefslogtreecommitdiffstats
path: root/list-objects-filter-options.c
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2020-11-14 09:43:26 +0100
committerJunio C Hamano <gitster@pobox.com>2020-11-16 14:28:25 -0800
commit5a923bb1f0f1ba01f8845dd7dc78bb354e8c79bc (patch)
tree2f92af709893ad5f71e064537944297c15bd6c39 /list-objects-filter-options.c
parentGit 2.29.2 (diff)
downloadgit-5a923bb1f0f1ba01f8845dd7dc78bb354e8c79bc.tar.gz
git-5a923bb1f0f1ba01f8845dd7dc78bb354e8c79bc.zip
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>
Diffstat (limited to 'list-objects-filter-options.c')
-rw-r--r--list-objects-filter-options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/list-objects-filter-options.c b/list-objects-filter-options.c
index defd3dfd10..d2d1c81caf 100644
--- a/list-objects-filter-options.c
+++ b/list-objects-filter-options.c
@@ -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);
}
/*