Skip to content

Commit

Permalink
mid: Support Message-ID
Browse files Browse the repository at this point in the history
'b4 --add-message-id' uses 'Message-ID', similar to what is in the email
headers. While patchew uses 'Message-ID'.

Allow both, or any variation.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe committed Sep 30, 2024
1 parent 83020b2 commit 484852a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ always_build() {

get_mid() { local mid
mid=$(git log -1 --format="format:%b" | \
grep "^Message-Id: " | \
grep -i "^Message-Id: " | \
tail -n1 | \
awk '{print $2}')

Expand Down

0 comments on commit 484852a

Please sign in to comment.