git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [TopGit PATCH 1/2] Fix generated Subject: line in .topmsg
@ 2008-08-05 19:13 Bert Wesarg
  2008-08-05 19:13 ` [TopGit PATCH 2/2] tg-create.sh: Introduce topgit.subjectprefix config option Bert Wesarg
  2008-08-06  5:10 ` [TopGit PATCH 1/2] Fix generated Subject: line in .topmsg Bert Wesarg
  0 siblings, 2 replies; 5+ messages in thread
From: Bert Wesarg @ 2008-08-05 19:13 UTC (permalink / raw)
  To: Petr Baudis, Petr Baudis; +Cc: Bert Wesarg, git

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-06  5:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-05 19:13 [TopGit PATCH 1/2] Fix generated Subject: line in .topmsg Bert Wesarg
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

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