Skip to content

Commit 11cfcc5

Browse files
committed
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 mode
2 parents efe778c + 3f57944 commit 11cfcc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

builtin/apply.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4383,6 +4383,8 @@ static int apply_patch(int fd, const char *filename, int options)
43834383
listp = &patch->next;
43844384
}
43854385
else {
4386+
if (apply_verbosely)
4387+
say_patch_name(stderr, _("Skipped patch '%s'."), patch);
43864388
free_patch(patch);
43874389
skipped_patch++;
43884390
}

0 commit comments

Comments
 (0)