Browse Source

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>
maint
Nguyễn Thái Ngọc Duy 12 years ago committed by Junio C Hamano
parent
commit
78a951432d
  1. 2
      line-log.c

2
line-log.c

@ -747,7 +747,7 @@ void line_log_init(struct rev_info *rev, const char *prefix, struct string_list @@ -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);
}
}

Loading…
Cancel
Save