about summary refs log tree commit diff
path: root/third_party/git/builtin/for-each-ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/builtin/for-each-ref.c')
-rw-r--r--third_party/git/builtin/for-each-ref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/git/builtin/for-each-ref.c b/third_party/git/builtin/for-each-ref.c
index 465153e853..9d1ecda2b8 100644
--- a/third_party/git/builtin/for-each-ref.c
+++ b/third_party/git/builtin/for-each-ref.c
@@ -9,7 +9,7 @@
 static char const * const for_each_ref_usage[] = {
 	N_("git for-each-ref [<options>] [<pattern>]"),
 	N_("git for-each-ref [--points-at <object>]"),
-	N_("git for-each-ref [(--merged | --no-merged) [<commit>]]"),
+	N_("git for-each-ref [--merged [<commit>]] [--no-merged [<commit>]]"),
 	N_("git for-each-ref [--contains [<commit>]] [--no-contains [<commit>]]"),
 	NULL
 };
@@ -70,7 +70,7 @@ int cmd_for_each_ref(int argc, const char **argv, const char *prefix)
 
 	if (!sorting)
 		sorting = ref_default_sorting();
-	sorting->ignore_case = icase;
+	ref_sorting_icase_all(sorting, icase);
 	filter.ignore_case = icase;
 
 	filter.name_patterns = argv;