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

[StGIT PATCH 3/3] Fix the --cover option.

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Oct 3, 2006, 21:34 UTC
Message-ID
<20061003213457.26195.55955.stgit@lathund.dewire.com>
In-Reply-To
<20061003213453.26195.54830.stgit@lathund.dewire.com>
From: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
 stgit/commands/mail.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/stgit/commands/mail.py b/stgit/commands/mail.py
index 8a713a1..c7f0f46 100644
--- a/stgit/commands/mail.py
+++ b/stgit/commands/mail.py
@@ -419,7 +419,7 @@ def func(parser, options, args):
     if options.cover or options.edit:
         # find the template file
         if options.cover:
-            tmpl = file(options.template).read()
+            tmpl = file(options.cover).read()
         else:
             tmpl = templates.get_template('covermail.tmpl')
             if not tmpl:
Previous: Robin RosenbergNext: Robin Rosenberg
Message 3 of 4 in “Command to move a patch to the top”
  1. 1/3 Command to move a patch to the topRobin Rosenberg, Oct 3, 2006
  2. 2/3 Add an optional prefix to the PATCH subject when mailing.Robin Rosenberg, Oct 3, 2006
  3. 3/3 Fix the --cover option.Robin Rosenberg, Oct 3, 2006
  4. (Repost) Command to move a patch to the topRobin Rosenberg, Oct 5, 2006

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.