Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/apply-report-skip'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 8 Apr 2016 21:29:12 +0000
(14:29 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 8 Apr 2016 21:29:12 +0000
(14:29 -0700)
"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
builtin/apply.c
patch
|
blob
|
history
raw
(from parent 1:
efe778c
)
diff --git
a/builtin/apply.c
b/builtin/apply.c
index 42c610e2ec180e789fdae4bc637dd96f533d1e10..c993333f9f6bd397d32c8cdc299100930a37de24 100644
(file)
--- a/
builtin/apply.c
+++ b/
builtin/apply.c
@@
-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++;
}