My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8144c9
)
line-log: convert to use parse_pathspec
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Sun, 14 Jul 2013 08:35:48 +0000
(15:35 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 15 Jul 2013 17:56:08 +0000
(10:56 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
line-log.c
patch
|
blob
|
history
diff --git
a/line-log.c
b/line-log.c
index
4bbb09b
..
843a334
100644
(file)
--- 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);
}
}