]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Makefile
Merge branch 'hn/submodule-comment'
[thirdparty/git.git] / 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 \