diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-14 02:37:52 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-14 02:37:52 -0500 |
commit | 73c40f95742b6b4854cae177a711098dc106c35d (patch) | |
tree | 108b2c48e5835d5cc9d5abbc8f75418eb748986a /git-hooks/commit-msg | |
parent | Generate a proper (?) rtlbootstrap.mk for a MSC build, too (diff) | |
download | core-73c40f95742b6b4854cae177a711098dc106c35d.tar.gz core-73c40f95742b6b4854cae177a711098dc106c35d.zip |
fix issue with repeated I in case of amend commit
Change-Id: I2f0f02fb545ae6d63f2d4e46327f6ee402ab608c
Diffstat (limited to 'git-hooks/commit-msg')
-rwxr-xr-x | git-hooks/commit-msg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/commit-msg b/git-hooks/commit-msg index d784d6561130..ad6400d1fcde 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" |