git-hooks/commit-msg |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 73c40f95742b6b4854cae177a711098dc106c35d
Author: Norbert Thiebaud <nthieb...@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"
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to