~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add --sign and --ack options to refresh
[stgit]
/
stgit
/
stack.py
diff --git
a/stgit/stack.py
b/stgit/stack.py
index
0113a1c
..
26a2fc5
100644
(file)
--- a/
stgit/stack.py
+++ b/
stgit/stack.py
@@
-601,7
+601,7
@@
class Series:
author_name = None, author_email = None,
author_date = None,
committer_name = None, committer_email = None,
author_name = None, author_email = None,
author_date = None,
committer_name = None, committer_email = None,
- backup = False, log = 'refresh'):
+ backup = False,
sign_str = None,
log = 'refresh'):
"""Generates a new commit for the given patch
"""
name = self.get_current()
"""Generates a new commit for the given patch
"""
name = self.get_current()
@@
-633,6
+633,10
@@
class Series:
if not committer_email:
committer_email = patch.get_commemail()
if not committer_email:
committer_email = patch.get_commemail()
+ if sign_str:
+ descr = '%s\n%s: %s <%s>\n' % (descr.rstrip(), sign_str,
+ committer_name, committer_email)
+
bottom = patch.get_bottom()
commit_id = git.commit(files = files,
bottom = patch.get_bottom()
commit_id = git.commit(files = files,