Re: [PATCH] contrib: Make prepare-commit-msg hook safe for older branches

2020-06-02 Thread Martin Liška
On 6/2/20 11:16 AM, Jonathan Wakely wrote: OK for master? I like the patch. Martin

[PATCH] contrib: Make prepare-commit-msg hook safe for older branches

2020-06-02 Thread Jonathan Wakely via Gcc-patches
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 c