summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2012-03-01 15:35:57 -0500
committerOwen W. Taylor <otaylor@fishsoup.net>2012-03-01 15:35:57 -0500
commitbe420c97d3918216f49eb91f396bfc2795de5d59 (patch)
tree390ae26502582253a3213951080b553959a97374
parente1ad70be73ebf563735dd854075169bd10a9360b (diff)
downloadgit-bz-be420c97d3918216f49eb91f396bfc2795de5d59.tar.gz
apply: Fix addition of 'need commit message' string
Fix a double addition of the commit message, and add a comment pointing out that the exact string is checked by git.gnome.org.
-rwxr-xr-xgit-bz3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-bz b/git-bz
index bba5de5..065d290 100755
--- a/git-bz
+++ b/git-bz
@@ -1658,7 +1658,8 @@ From: %s <%s>
Date: %s
Subject: %s
""" % (name, email, patch.date, patch.description)
- patch.data = headers + "\n\nFIXME: need commit message\n---\n" + patch.data
+ # The exact string 'FIXME: need commit message' is checked for by
+ # git.gnome.org commit hooks, so they need to be updated if it changes.
patch.data = headers + """
FIXME: need commit message.