diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2018-06-22 18:38:06 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2018-06-22 18:39:05 +0100 |
commit | 36a07d68664e4806c314deb1c1cfa8b5f56bacbd (patch) | |
tree | 370be3f5f639e21c385f9710f6af1f4da56ca7e6 | |
parent | 22fe893d50f20e67c5cdaba052da24eddd826cba (diff) | |
download | linux-stable-queue-36a07d68664e4806c314deb1c1cfa8b5f56bacbd.tar.gz |
import-ccd: Prompt to view notes for a commit if present
-rwxr-xr-x | scripts/import-ccd | 3 |
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)" |