Sync with 1.8.4.4
[gitweb.git] / line-log.c
index 8b6e497b3ff187ee328cba395f30d3db7f86c0b4..717638b333b680da7a3a5acefcb73db9d956a00f 100644 (file)
@@ -760,7 +760,8 @@ void line_log_init(struct rev_info *rev, const char *prefix, struct string_list
                        r = r->next;
                }
                paths[count] = NULL;
-               parse_pathspec(&rev->diffopt.pathspec, 0, 0, "", paths);
+               parse_pathspec(&rev->diffopt.pathspec, 0,
+                              PATHSPEC_PREFER_FULL, "", paths);
                free(paths);
        }
 }