mv: move submodules together with their work trees
[gitweb.git] / line-log.c
index 4bbb09be59e561b519f63c3685fb790de9e70ded..843a334bf06464f08ceb1a6d68d1599db2a1f1f2 100644 (file)
@@ -747,7 +747,7 @@ void line_log_init(struct rev_info *rev, const char *prefix, struct string_list
                        r = r->next;
                }
                paths[count] = NULL;
-               init_pathspec(&rev->diffopt.pathspec, paths);
+               parse_pathspec(&rev->diffopt.pathspec, 0, 0, "", paths);
                free(paths);
        }
 }