summaryrefslogtreecommitdiff
path: root/line-log.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-07-14 15:35:48 +0700
committerJunio C Hamano <gitster@pobox.com>2013-07-15 10:56:08 -0700
commit78a951432d0f2e16d8b7bd09cb9665315b7a3d16 (patch)
treedbe3d2214b2ed79254d8223b69f5b9aac11e1661 /line-log.c
parentf8144c9fcff09597670ac7bf69d5cde4af5f206c (diff)
downloadgit-78a951432d0f2e16d8b7bd09cb9665315b7a3d16.tar.gz
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>
Diffstat (limited to 'line-log.c')
-rw-r--r--line-log.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}