pre-rebase hook: capture documentation in a <<here document
[gitweb.git] / git-rebase--interactive.sh
index f5f58c483a5e229a6b62df6042fe42fb9d9de105..4734094a3f1aaa7d7c767a0740b46dd6abdd6f7a 100644 (file)
@@ -437,7 +437,8 @@ update_squash_messages () {
                        }' <"$squash_msg".bak
                } >"$squash_msg"
        else
-               commit_message HEAD > "$fixup_msg" || die "$(gettext "Cannot write \$fixup_msg")"
+               commit_message HEAD >"$fixup_msg" ||
+               die "$(eval_gettext "Cannot write \$fixup_msg")"
                count=2
                {
                        printf '%s\n' "$comment_char $(gettext "This is a combination of 2 commits.")"