Code

git-checkout: Test for relative path use.
[git.git] / builtin-for-each-ref.c
index da8c7948e63609aeeae20cde87b519933a5a4207..e909e66bedb168b7d10f6f0c3cd806d6ce139a2c 100644 (file)
@@ -847,7 +847,7 @@ int cmd_for_each_ref(int argc, const char **argv, const char *prefix)
                OPT_GROUP(""),
                OPT_INTEGER( 0 , "count", &maxcount, "show only <n> matched refs"),
                OPT_STRING(  0 , "format", &format, "format", "format to use for the output"),
-               OPT_CALLBACK(0 , "sort", &sort_tail, "key",
+               OPT_CALLBACK(0 , "sort", sort_tail, "key",
                            "field name to sort on", &opt_parse_sort),
                OPT_END(),
        };