diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:16:56 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:16:56 +0900 |
commit | 2d29e070a20e1dc9129eaaa0a308f5db609b2e3a (patch) | |
tree | 1caf9e1d7dcb6ae65c3431f7094629564bbda048 /builtin/for-each-ref.c | |
parent | c1e56cc9b3fa56810f5af6086bf7487646aa466b (diff) | |
download | git-2d29e070a20e1dc9129eaaa0a308f5db609b2e3a.tar.gz git-2d29e070a20e1dc9129eaaa0a308f5db609b2e3a.tar.bz2 git-2d29e070a20e1dc9129eaaa0a308f5db609b2e3a.zip |
Imported Upstream version 2.22.0upstream/2.22.0
Diffstat (limited to 'builtin/for-each-ref.c')
-rw-r--r-- | builtin/for-each-ref.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/for-each-ref.c b/builtin/for-each-ref.c index e931be9c..465153e8 100644 --- a/builtin/for-each-ref.c +++ b/builtin/for-each-ref.c @@ -37,8 +37,7 @@ int cmd_for_each_ref(int argc, const char **argv, const char *prefix) OPT_INTEGER( 0 , "count", &maxcount, N_("show only <n> matched refs")), OPT_STRING( 0 , "format", &format.format, N_("format"), N_("format to use for the output")), OPT__COLOR(&format.use_color, N_("respect format colors")), - OPT_CALLBACK(0 , "sort", sorting_tail, N_("key"), - N_("field name to sort on"), &parse_opt_ref_sorting), + OPT_REF_SORT(sorting_tail), OPT_CALLBACK(0, "points-at", &filter.points_at, N_("object"), N_("print only refs which points at the given object"), parse_opt_object_name), |