diff --git a/build_tools/format-diff.sh b/build_tools/format-diff.sh index 0fd3417f4..aa04093b0 100755 --- a/build_tools/format-diff.sh +++ b/build_tools/format-diff.sh @@ -121,7 +121,7 @@ if [ -z "$uncommitted_code" ] then git diff -U0 "$FORMAT_UPSTREAM_MERGE_BASE" | $CLANG_FORMAT_DIFF -i -p 1 else - git diff -U0 HEAD^ | $CLANG_FORMAT_DIFF -i -p 1 + git diff -U0 HEAD | $CLANG_FORMAT_DIFF -i -p 1 fi echo "Files reformatted!"