git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [StGit PATCH] Add an empty line before signed-off-by
@ 2007-03-09 23:00 Robin Rosenberg
  2007-03-12 16:25 ` Catalin Marinas
  0 siblings, 1 reply; 3+ messages in thread
From: Robin Rosenberg @ 2007-03-09 23:00 UTC (permalink / raw)
  To: catalin.marinas; +Cc: git

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:

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

end of thread, other threads:[~2007-03-12 21:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-09 23:00 [StGit PATCH] Add an empty line before signed-off-by Robin Rosenberg
2007-03-12 16:25 ` Catalin Marinas
2007-03-12 21:13   ` Robin Rosenberg

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