prati0100 / git-gui

Tcl/Tk based UI for Git. I am currently acting as the project's maintainer.
160 stars 87 forks source link

prepare-commit-msg hook fails because the commit message file does not exist #93

Closed JulienGrv closed 1 month ago

JulienGrv commented 1 year ago

Hi everyone,

When I start git gui in Git for Windows, my prepare-commit-msg hook fails because the path to the commit message file that is passed does not exist. However, based on the official documentation of the Git hooks, this argument is required. It seems like an issue in git gui which should create the commit-msg file even if empty or otherwise not trigger the prepare-commit-msg at all.

Thank you for your support, Julien