mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-19 21:22:12 +00:00
Using git-diff --exit-code for diff details.
This commit is contained in:
@@ -6,4 +6,4 @@ format:
|
||||
clang-format -i -style=file $(FORMATSOURCES)
|
||||
|
||||
check-format:
|
||||
clang-format -i -style=file $(FORMATSOURCES) && git diff-index --quiet HEAD
|
||||
clang-format -i -style=file $(FORMATSOURCES) && git diff --exit-code
|
||||
|
||||
Reference in New Issue
Block a user