summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-07-14 15:35:48 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-15 10:56:08 -0700
commit78a951432d0f2e16d8b7bd09cb9665315b7a3d16 (patch)
treedbe3d2214b2ed79254d8223b69f5b9aac11e1661
parentreset: convert to use parse_pathspec (diff)
downloadtgif-78a951432d0f2e16d8b7bd09cb9665315b7a3d16.tar.xz
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>
-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);
}
}