Skip to content

Commit

Permalink
Merge branch 'nd/apply-report-skip'
Browse files Browse the repository at this point in the history
"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
  • Loading branch information
Junio C Hamano committed Apr 8, 2016
2 parents efe778c + 3f57944 commit 11cfcc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builtin/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -4383,6 +4383,8 @@ static int apply_patch(int fd, const char *filename, int options)
listp = &patch->next;
}
else {
if (apply_verbosely)
say_patch_name(stderr, _("Skipped patch '%s'."), patch);
free_patch(patch);
skipped_patch++;
}
Expand Down

0 comments on commit 11cfcc5

Please sign in to comment.