Skip to content

Commit

Permalink
#1672: Revert "improve post-commit hooks"
Browse files Browse the repository at this point in the history
This reverts commit 16a58cb.
  • Loading branch information
cz4rs committed Jun 1, 2022
1 parent f787829 commit cba6a3f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/post-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
# every commit.
# Prints the resulting changes if there are any.

# don't run the action during rebase
if ! [[ $(git branch --show-current) ]]
then
exit
fi

output=$(git clang-format HEAD~1)

if [ "$output" != "" ]
Expand Down

0 comments on commit cba6a3f

Please sign in to comment.