hvsp: use --histogram as default git format-patch options
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 20 Dec 2023 21:50:13 +0000 (16:50 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 1 Mar 2024 15:54:29 +0000 (10:54 -0500)
scripts/kernel-send-patches.sh

index b34ebd6..4c0bcb9 100755 (executable)
@@ -56,6 +56,7 @@ cover="no"
 series=""
 resend="no"
 GIT_FORMAT_PATCH_SUBJECT="PATCH"
+GIT_FORMAT_PATCH_OPTS="--histogram"
 skip_compile=0
 CHECKPATCH_OPS="--strict"
 
@@ -298,7 +299,7 @@ git checkout -b ${patches_branch} ${base_branch}
 git branch --set-upstream-to ${base_branch}
 git cherry-pick ${COMMIT_START_SHA1}..${COMMIT_END_SHA1}
 
-GIT_FORMAT_PATCH_OPTS="--base=${base_commit}"
+GIT_FORMAT_PATCH_OPTS="${GIT_FORMAT_PATCH_OPTS} --base=${base_commit}"
 
 if [ x"${cover}" = x"yes" ]; then
     GIT_FORMAT_PATCH_OPTS="${GIT_FORMAT_PATCH_OPTS} --cover-letter"