line-log: convert to use parse_pathspec

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Jul 14, 2013 at 15:35 UTC 78a951432d0f2e16d8b7bd09cb9665315b7a3d16
1 file changed +1 -1
line-log.c
+1 -1
@@ -747,7 +747,7 @@ void line_log_init(struct rev_info *rev, const char *prefix, struct string_list
747 r = r->next;
748 }
749 paths[count] = NULL;
750 - init_pathspec(&rev->diffopt.pathspec, paths);
750 + parse_pathspec(&rev->diffopt.pathspec, 0, 0, "", paths);
751 free(paths);
752 }
753 }