We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e24ef9d + 62af694 commit 95dc7dfCopy full SHA for 95dc7df
utils/git-clang-format-all.zsh
@@ -65,14 +65,12 @@ for commit in "${COMMITS[@]}"; do
65
echo "Processing commit: $commit ($(git log --oneline -1 $commit))"
66
67
if ! git-clang-format "${commit}^" >/dev/null ; then
68
- echo " Committed fixup commit with formatting changes"
+ echo " Formatting required"
69
git commit --quiet -a --fixup "${commit}"
70
+ git -c sequence.editor=: rebase -i --autosquash --quiet "${commit}^"
71
else
72
echo " No formatting changes needed"
73
fi
74
done
75
-echo "Squashing fixup commits using git rebase autosquash"
76
-git -c sequence.editor=: rebase -i --autosquash --quiet "${TARGET_HASH}^"
77
-
78
echo "All commits formatted successfully"
0 commit comments