summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2010-08-14 19:26:20 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2010-09-06 20:49:26 -0400
commit81ab18761aea0d8077a280d4b91af10d93246cf3 (patch)
tree3c424984bd7f300140895173e7ade534313006f8
parentcf5b26167b5da7d17cf8ef4ab76ef6e3413ce395 (diff)
downloadgit-bz-81ab18761aea0d8077a280d4b91af10d93246cf3.tar.gz
Use the actual description entered by the user, rather than unconditionally using commit.subject
By mistake, the code was discarding the description after parsing it out from the edit buffer. https://bugzilla.gnome.org/show_bug.cgi?id=628455
-rwxr-xr-xgit-bz2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-bz b/git-bz
index 44482cf..b51bb65 100755
--- a/git-bz
+++ b/git-bz
@@ -1528,7 +1528,7 @@ def attach_commits(bug, commits, include_comments=True, edit_comments=False, sta
else:
description = commit.subject
obsoletes = []
- bug.create_patch(commit.subject, body, filename, patch, obsoletes=obsoletes, status=status)
+ bug.create_patch(description, body, filename, patch, obsoletes=obsoletes, status=status)
def do_attach(*args):
if len(args) == 1: