summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2018-06-22 18:38:06 +0100
committerBen Hutchings <ben@decadent.org.uk>2018-06-22 18:39:05 +0100
commit36a07d68664e4806c314deb1c1cfa8b5f56bacbd (patch)
tree370be3f5f639e21c385f9710f6af1f4da56ca7e6
parent22fe893d50f20e67c5cdaba052da24eddd826cba (diff)
downloadlinux-stable-queue-36a07d68664e4806c314deb1c1cfa8b5f56bacbd.tar.gz
import-ccd: Prompt to view notes for a commit if present
-rwxr-xr-xscripts/import-ccd3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/import-ccd b/scripts/import-ccd
index 917473e0..33cc72af 100755
--- a/scripts/import-ccd
+++ b/scripts/import-ccd
@@ -80,6 +80,9 @@ while read commit; do
if [ -n "$fixes" ]; then
echo "Fixes: $fixes"
fi
+ if git notes list $commit &>/dev/null && read_user_bool "View notes?"; then
+ git notes show $commit </dev/tty
+ fi
"$SCRIPTS"/signoff-patch "$patch"
for version in $STABLE_BASE_VERSIONS; do
queue="$(get_queue $version)"