~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Show patch content in description edit buffer
[stgit]
/
stgit
/
commands
/
refresh.py
diff --git
a/stgit/commands/refresh.py
b/stgit/commands/refresh.py
index
f5cb2e9
..
48b406a
100644
(file)
--- a/
stgit/commands/refresh.py
+++ b/
stgit/commands/refresh.py
@@
-44,6
+44,9
@@
options = [make_option('-f', '--force',
help = 'invoke an editor for the patch '\
'description',
action = 'store_true'),
help = 'invoke an editor for the patch '\
'description',
action = 'store_true'),
+ make_option('-s', '--showpatch',
+ help = 'show the patch content in the editor buffer',
+ action = 'store_true'),
make_option('-m', '--message',
help = 'use MESSAGE as the patch ' \
'description'),
make_option('-m', '--message',
help = 'use MESSAGE as the patch ' \
'description'),
@@
-96,6
+99,7
@@
def func(parser, options, args):
resolved_all()
crt_series.refresh_patch(message = options.message,
edit = options.edit,
resolved_all()
crt_series.refresh_patch(message = options.message,
edit = options.edit,
+ show_patch = options.showpatch,
author_name = options.authname,
author_email = options.authemail,
author_date = options.authdate,
author_name = options.authname,
author_email = options.authemail,
author_date = options.authdate,