Skip to content

Commit 86490ff

Browse files
author
Jack Lau
authored
workflows/format-patch: fix git format-patch (#27)
refer to https://www.ffmpeg.org/developer.html#Submitting-patches-1 add header "X-Unsent: 1" add email recipients Signed-off-by: Jack Lau <[email protected]>
1 parent 2ea41f2 commit 86490ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/format-patch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ if [[ -z "$PATCH_FILE" ]]; then
149149
PATCH_FILE="whip-patch-$PR_NUMBER-$(date +%s).patch"
150150
fi &&
151151
rm -f $PATCH_FILE &&
152-
git format-patch -1 --stdout > $PATCH_FILE &&
152+
git format-patch --add-header "X-Unsent: 1" --to [email protected] -1 --stdout > $PATCH_FILE &&
153153
echo "Created patch file: $PATCH_FILE"
154154
if [[ $? -ne 0 ]]; then
155155
echo "Failed to create patch file."

0 commit comments

Comments
 (0)