convert report_path_error to take struct 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
18e4f40599
commit
17ddc66e70
@ -304,7 +304,7 @@ static int checkout_paths(const struct checkout_opts *opts,
|
||||
ce->ce_flags |= CE_MATCHED;
|
||||
}
|
||||
|
||||
if (report_path_error(ps_matched, opts->pathspec.raw, opts->prefix)) {
|
||||
if (report_path_error(ps_matched, &opts->pathspec, opts->prefix)) {
|
||||
free(ps_matched);
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user