Index: Makefile.standalone |
diff --git a/Makefile.standalone b/Makefile.standalone |
index 2d3c0add27f26bda653b4761ad309b9c8407acea..4371f2dd6e82811ebf77c40ccd1bfe3aa3856865 100644 |
--- a/Makefile.standalone |
+++ b/Makefile.standalone |
@@ -103,7 +103,7 @@ else |
CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py |
endif |
format-diff: |
- git diff -U0 HEAD^ | \ |
+ git diff -U0 `git merge-base HEAD master` | \ |
$(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i |
clean: |