We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2d5ac9 commit bc20cb5Copy full SHA for bc20cb5
multiple_commits.sh
@@ -0,0 +1,9 @@
1
+#!/bin/bash
2
+set -eu
3
+
4
+commits_since_master=$(git rev-list HEAD ^master)
5
6
+while read -r commit_hash; do
7
+ commit_message="$(git log --format=%B -n 1 $commit_hash)"
8
+ python3 bad_commit_message_blocker.py --message "$commit_message"
9
+done <<< "$commits_since_master"
0 commit comments