From: Nguyễn Thái Ngọc Duy Date: Sun, 14 Jul 2013 08:35:48 +0000 (+0700) Subject: line-log: convert to use parse_pathspec X-Git-Tag: v1.8.5-rc0~158^2~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78a951432d0f2e16d8b7bd09cb9665315b7a3d16;p=git line-log: convert to use parse_pathspec Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- diff --git a/line-log.c b/line-log.c index 4bbb09be59..843a334bf0 100644 --- a/line-log.c +++ b/line-log.c @@ -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); } }