]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/log.c
remove init_pathspec() in favor of parse_pathspec()
[thirdparty/git.git] / builtin / log.c
index e3222ed9f979e3140cbfc88ad2839c573c89bf06..873af6947671d2ed47d74569e5833ebd9fb68fdd 100644 (file)
@@ -503,7 +503,7 @@ int cmd_show(int argc, const char **argv, const char *prefix)
        init_grep_defaults();
        git_config(git_log_config, NULL);
 
-       init_pathspec(&match_all, NULL);
+       memset(&match_all, 0, sizeof(match_all));
        init_revisions(&rev, prefix);
        rev.diff = 1;
        rev.always_show_header = 1;