$1 is unset after parsing all arguments, so use $name instead. Signed-off-by: Bert Wesarg <bert.wesarg@xxxxxxxxxxxxxx> --- tg-create.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tg-create.sh b/tg-create.sh index d196e4f..0bf329c 100644 --- a/tg-create.sh +++ b/tg-create.sh @@ -107,7 +107,7 @@ author_addr="${author%> *}>" ! header="$(git config topgit.to)" || echo "To: $header" ! header="$(git config topgit.cc)" || echo "Cc: $header" ! header="$(git config topgit.bcc)" || echo "Bcc: $header" - echo "Subject: [PATCH] $1" + echo "Subject: [PATCH] $name" echo cat <<EOT <patch description> -- tg: (24367cc..) t/fix-subject-line-in-.topmsg (depends on: master) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html