Create a new, empty patch on the current stack. The new patch is
created on top of the currently applied patches, and is made the new
top of the stack. Uncommitted changes in the work tree are not
-included in the patch -- that is handled by stglink:refresh[].
+included in the patch -- that is handled by linkstg:refresh[].
The given name must be unique in the stack, and may only contain
alphanumeric characters, dashes and underscores. If no name is given,
'patchdescr.tmpl' template file (if available) is used to pre-fill the
editor."""
-options = (argparse.author_committer_options()
- + argparse.message_options()
+args = []
+options = (argparse.author_options()
+ + argparse.message_options(save_template = True)
+ argparse.sign_options())
directory = common.DirectoryHasRepositoryLib()
if options.message != None:
cd = cd.set_message(options.message)
- # Modify author and committer data.
- cd = (cd.set_author(options.author(cd.author))
- .set_committer(options.committer(cd.committer)))
+ # Modify author data.
+ cd = cd.set_author(options.author(cd.author))
# Add Signed-off-by: or similar.
if options.sign_str != None: