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

[StGit PATCH] Add an empty line before signed-off-by

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Mar 9, 2007, 23:00 UTC
Message-ID
<20070309225959.20959.32505.stgit@lathund.dewire.com>

Default to the standard convention of having an empty line before the Signed-off line when addign a signature using the --sign option.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
 stgit/commands/refresh.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/stgit/commands/refresh.py b/stgit/commands/refresh.py
index 4cf09ae..dbcb757 100644
--- a/stgit/commands/refresh.py
+++ b/stgit/commands/refresh.py
@@ -108,7 +108,7 @@ def func(parser, options, args):
         options.authname, options.authemail = name_email(options.author)
 
     if options.sign:
-        sign_str = 'Signed-off-by'
+        sign_str = '\nSigned-off-by'
         if options.ack:
             raise CmdException, '--ack and --sign were both specified'
     elif options.ack:
Next: Catalin Marinas
Message 1 of 3 in “Add an empty line before signed-off-by”
  1. Add an empty line before signed-off-byRobin Rosenberg, Mar 9, 2007
  2. Catalin MarinasMar 12, 2007
  3. Robin RosenbergMar 12, 2007

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.