Skip to content

Commit

Permalink
line-log: convert to use parse_pathspec
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Nguyễn Thái Ngọc Duy authored and Junio C Hamano committed Jul 15, 2013
1 parent f8144c9 commit 78a9514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion line-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 78a9514

Please sign in to comment.