summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-19 07:24:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-19 07:24:41 (GMT)
commit0722553177966441376d7cf3c7ed664e00f92d14 (patch)
treefd1dcd6464345ac1a018a4dae1ee4ffc602be430 /Makefile
parent2488849c7e76bed9069ba052a186b88214450cca (diff)
parentdd5d052c397229f46cbc14768c0b11a09a79720f (diff)
downloadgit-0722553177966441376d7cf3c7ed664e00f92d14.zip
git-0722553177966441376d7cf3c7ed664e00f92d14.tar.gz
git-0722553177966441376d7cf3c7ed664e00f92d14.tar.bz2
Merge branch 'sb/cocci-pending'
A coding convention around the Coccinelle semantic patches to have two classes to ease code migration process has been proposed and its support has been added to the Makefile. * sb/cocci-pending: coccicheck: introduce 'pending' semantic patches
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index af873ae..1a44c81 100644
--- a/Makefile
+++ b/Makefile
@@ -2742,9 +2742,12 @@ endif
then \
echo ' ' SPATCH result: $@; \
fi
-coccicheck: $(addsuffix .patch,$(wildcard contrib/coccinelle/*.cocci))
+coccicheck: $(addsuffix .patch,$(filter-out %.pending.cocci,$(wildcard contrib/coccinelle/*.cocci)))
-.PHONY: coccicheck
+# See contrib/coccinelle/README
+coccicheck-pending: $(addsuffix .patch,$(wildcard contrib/coccinelle/*.pending.cocci))
+
+.PHONY: coccicheck coccicheck-pending
### Installation rules