summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2012-03-01 15:31:33 -0500
committerOwen W. Taylor <otaylor@fishsoup.net>2012-03-01 15:31:33 -0500
commite1ad70be73ebf563735dd854075169bd10a9360b (patch)
tree7a76fae03020930cb2a15268fc35254ee299436c
parent9f46b5b3b6d80fa76b33849c1b70eca9195d9145 (diff)
apply: ask the user to double-check author and subject
The author and subject might be wrong (especially the subject), when we make up a commit message for a plain patch, so ask the user to double check.
-rwxr-xr-xgit-bz6
1 files changed, 6 insertions, 0 deletions
diff --git a/git-bz b/git-bz
index 0ad6021..bba5de5 100755
--- a/git-bz
+++ b/git-bz
@@ -1659,6 +1659,12 @@ Date: %s
Subject: %s
""" % (name, email, patch.date, patch.description)
patch.data = headers + "\n\nFIXME: need commit message\n---\n" + patch.data
+ patch.data = headers + """
+
+FIXME: need commit message.
+(Please also double check the author and subject.)
+---
+"""" + patch.data
need_amend = True
else:
need_amend = False