[PATCH] stgit: new --message does not work
Stacked GIT: Using the --message option with the new command fails. Fix it.
Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com>
---
stgit/stack.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/stgit/stack.py b/stgit/stack.py
--- a/stgit/stack.py
+++ b/stgit/stack.py
@@ -384,6 +384,8 @@ class Series:
descr = edit_file(None, \
'Please enter the description for patch "%s" ' \
'above.' % name)
+ else:
+ descr = message
head = git.get_head()