From: Catalin Marinas Date: Tue, 22 May 2007 20:45:53 +0000 (+0100) Subject: Fix the automatic patch name generation for the pick command X-Git-Tag: v0.13~60 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/e2b1102c4e5b9fb88c0791d3c3371ad2e2fa0b38?ds=sidebyside Fix the automatic patch name generation for the pick command It was broken by a recent commit to unify the patch name generation. Signed-off-by: Catalin Marinas --- diff --git a/stgit/commands/pick.py b/stgit/commands/pick.py index a47b201..20ecd02 100644 --- a/stgit/commands/pick.py +++ b/stgit/commands/pick.py @@ -121,6 +121,9 @@ def func(parser, options, args): author_name = author_name, author_email = author_email, author_date = author_date) + # in case the patch name was automatically generated + patchname = newpatch.get_name() + # find a patchlog to fork from (refpatchname, refbranchname, refpatchid) = parse_rev(commit_str) if refpatchname and not refpatchid and \