mirror of
https://github.com/git/git.git
synced 2026-04-12 01:40:10 +02:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
f8144c9fcf
commit
78a951432d
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user