[Libreoffice-commits] .: git-hooks/commit-msg
Norbert Thiebaud
nthiebaud at kemper.freedesktop.org
Mon May 14 00:38:55 PDT 2012
git-hooks/commit-msg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 73c40f95742b6b4854cae177a711098dc106c35d
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon May 14 02:37:52 2012 -0500
fix issue with repeated I in case of amend commit
Change-Id: I2f0f02fb545ae6d63f2d4e46327f6ee402ab608c
diff --git a/git-hooks/commit-msg b/git-hooks/commit-msg
index d784d65..ad6400d 100755
--- a/git-hooks/commit-msg
+++ b/git-hooks/commit-msg
@@ -100,7 +100,7 @@ add_ChangeId() {
return
fi
- id=`grep -i '^Change-Id:' "$MSG" | sed -e "s/.*://"`
+ id=`grep -i '^Change-Id:' "$MSG" | sed -e "s/.*: I//"`
temp_msg=`grep -v -i '^Change-Id:' "$MSG"`
echo "$temp_msg" > "$MSG"
More information about the Libreoffice-commits
mailing list