diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2012-03-01 15:31:33 -0500 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2012-03-01 15:31:33 -0500 |
commit | e1ad70be73ebf563735dd854075169bd10a9360b (patch) | |
tree | 7a76fae03020930cb2a15268fc35254ee299436c | |
parent | 9f46b5b3b6d80fa76b33849c1b70eca9195d9145 (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-x | git-bz | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |