git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bert Wesarg <bert.wesarg@googlemail.com>
To: Petr Baudis <pasky@suse.cz>
To: Petr Baudis <pasky@suse.cz>
Cc: Bert Wesarg <bert.wesarg@googlemail.com>, git@vger.kernel.org
Subject: [TopGit PATCH 1/2] Fix generated Subject: line in .topmsg
Date: Tue,  5 Aug 2008 21:13:29 +0200	[thread overview]
Message-ID: <1217963610-15195-1-git-send-email-bert.wesarg@googlemail.com> (raw)

$1 is unset after parsing all arguments, so use $name instead.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>

---
 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)

             reply	other threads:[~2008-08-05 19:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05 19:13 Bert Wesarg [this message]
2008-08-05 19:13 ` [TopGit PATCH 2/2] tg-create.sh: Introduce topgit.subjectprefix config option Bert Wesarg
2008-08-05 22:18   ` Petr Baudis
     [not found]   ` <20080805233930.GA1249@toroid.org>
2008-08-06  5:08     ` Bert Wesarg
2008-08-06  5:10 ` [TopGit PATCH 1/2] Fix generated Subject: line in .topmsg Bert Wesarg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1217963610-15195-1-git-send-email-bert.wesarg@googlemail.com \
    --to=bert.wesarg@googlemail.com \
    --cc=git@vger.kernel.org \
    --cc=pasky@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).