mirror of
https://github.com/gcc-mirror/gcc.git
synced 2025-08-16 17:10:17 +00:00
Handle non default git prefix configurations
Mklog parses the diff content from prepare-commit-msg hook but fails when git has been configured with mnemonicPrefix. Forcing the default values for the prefixes would set a distinct diff configuration supported by mklog and prevent most failures. contrib/ChangeLog: * prepare-commit-msg: Force default git prefixes. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
This commit is contained in:

committed by
Alexander Monakov

parent
20407a41e8
commit
90f7df6194
@ -78,4 +78,4 @@ else
|
||||
tee="cat"
|
||||
fi
|
||||
|
||||
git $cmd | $tee | git gcc-mklog -c "$COMMIT_MSG_FILE"
|
||||
git $cmd --default-prefix | $tee | git gcc-mklog -c "$COMMIT_MSG_FILE"
|
||||
|
Reference in New Issue
Block a user