git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[TopGit PATCH 1/2] Fix generated Subject: line in .topmsg

From
Bert Wesarg <bert.wesarg@googlemail.com>
Date
Aug 5, 2008, 19:13 UTC
Message-ID
<1217963610-15195-1-git-send-email-bert.wesarg@googlemail.com>
$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)
Next: Bert Wesarg
Message 1 of 5 in “Fix generated Subject: line in .topmsg”
  1. 1/2 Fix generated Subject: line in .topmsgBert Wesarg, Aug 5, 2008
  2. 2/2 tg-create.sh: Introduce topgit.subjectprefix config optionBert Wesarg, Aug 5, 2008
  3. Petr BaudisAug 5, 2008
  4. Bert WesargAug 6, 2008
  5. Bert WesargAug 6, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.