Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
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
raw
|
patch
| inline |
side by side
(parent:
f8144c9
)
diff --git
a/line-log.c
b/line-log.c
index 4bbb09be59e561b519f63c3685fb790de9e70ded..843a334bf06464f08ceb1a6d68d1599db2a1f1f2 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);
}
}