aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-06-02 11:18:21 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-06-02 11:18:21 +0100
commit9127b5239871fb1e16f26abb17081599b38a4d53 (patch)
treebcd4426ab4be89bd3d7503f06bf6af0c360563ae /libgcc
parent871e5ada6d53d5eb495cc9f323983f347487c1b2 (diff)
downloadgcc-9127b5239871fb1e16f26abb17081599b38a4d53.zip
gcc-9127b5239871fb1e16f26abb17081599b38a4d53.tar.gz
gcc-9127b5239871fb1e16f26abb17081599b38a4d53.tar.bz2
contrib: Make prepare-commit-msg hook safe for older branches
If a user installs this script as .git/hooks/prepare-commit-msg and then works on an old branch which doesn't have the mklog.py script, trying to commit will fail with an error like: environment: /.../gcc/contrib/mklog.py: No such file or directory This makes it exit cleanly so it's possible to commit. contrib/ChangeLog: * prepare-commit-msg: Do nothing if the mklog.py script isn't present.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions