Merge branch 'nd/apply-report-skip'
"git apply -v" learned to report paths in the patch that were skipped via --include/--exclude mechanism or being outside the current working directory. * nd/apply-report-skip: apply: report patch skipping in verbose modemaint
commit
11cfcc579a
|
@ -4383,6 +4383,8 @@ static int apply_patch(int fd, const char *filename, int options)
|
||||||
listp = &patch->next;
|
listp = &patch->next;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if (apply_verbosely)
|
||||||
|
say_patch_name(stderr, _("Skipped patch '%s'."), patch);
|
||||||
free_patch(patch);
|
free_patch(patch);
|
||||||
skipped_patch++;
|
skipped_patch++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue