Using the --message option with the new command fails. Fix it.
authorBryan Larsen <bryan.larsen@gmail.com>
Wed, 13 Jul 2005 21:36:26 +0000 (22:36 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 13 Jul 2005 21:36:26 +0000 (22:36 +0100)
Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com>
stgit/stack.py

index 851f998..0e6bdb3 100644 (file)
@@ -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()