diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-01-26 15:15:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-01-26 15:15:06 +0200 |
commit | d3b6cfae8b2d6250a66bf5631e7c2cc00c9b8645 (patch) | |
tree | fd0421eb23ef947ce00d28c495ca1e0e33045e3f | |
parent | 04b899e62262ce4bdb979c2cde758f087c08b645 (diff) |
Mention commit subject when confirming added commit in manage script
-rw-r--r-- | bpkg-util/manage.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bpkg-util/manage.in b/bpkg-util/manage.in index b2a8119..a0add0b 100644 --- a/bpkg-util/manage.in +++ b/bpkg-util/manage.in @@ -2156,7 +2156,8 @@ while true; do if [[ ("$opt" =~ ^[1-9][0-9]*$) && -v "pending_seq[$opt-1]" ]]; then if [[ ! "$(contains "$opt" "${bundle[@]}")" ]]; then bundle+=("$opt") - info "commit $opt (${pending_seq[$opt-1]}) \ + h="${pending_seq[$opt-1]}" + info "commit $opt ($h) \"$(commit_subject "$h")\" \ added to selected bundle" else info "commit $opt is already in the bundle" |