Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
checkout-index: simplify locking logic
[gitweb.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index ed5960e6b378a982fb770f428324ba8fec0ba8c6..ed4ca438bd9c6ddab51f78cb4b620f02a7e12eed 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2457,6
+2457,10
@@
$(SP_OBJ): %.sp: %.c GIT-CFLAGS FORCE
.PHONY: sparse $(SP_OBJ)
sparse: $(SP_OBJ)
+.PHONY: style
+style:
+ git clang-format --style file --diff --extensions c,h
+
check: common-cmds.h
@if sparse; \
then \