Git with broken hash generation to generate collisions between object IDs. Don't use this! https://undefinedbehavior.de/posts/commit-vandalism/
Go to file
Shawn O. Pearce fb0ca475c6 git-gui: Honor the standard commit-msg hook
Under core Git the git-commit tool will invoke the commit-msg hook
if it exists and is executable to the user running git-commit.  As
a hook it has some limited value as it cannot alter the commit, but
it can modify the message the user is attempting to commit.  It is
also able to examine the message to ensure it conforms to some local
standards/conventions.

Since the hook takes the name of a temporary file holding the message
as its only parameter we need to move the code that creates the temp
file up earlier in our commit code path, and then pass through that
file name to the latest stage (where we call git-commit-tree).  We let
the hook alter the file as it sees fit and we don't bother to look at
its content again until the commit succeeded and we need the subject
for the reflog update.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2008-01-20 22:45:37 -05:00
lib git-gui: Honor the standard commit-msg hook 2008-01-20 22:45:37 -05:00
macosx git-gui: Support a native Mac OS X application bundle 2007-09-27 22:17:00 -04:00
po git-gui: add french glossary: glossary/fr.po 2008-01-17 21:35:01 -05:00
windows git-gui: add mingw specific startup wrapper 2007-10-10 03:50:01 -04:00
.gitignore git-gui: Honor a config.mak in git-gui's top level 2007-10-13 22:14:14 -04:00
git-gui.sh git-gui: Move frequently used commands to the top of the context menu. 2007-12-14 01:30:20 -05:00
GIT-VERSION-GEN git-gui 0.9.0 2007-11-21 02:10:03 -05:00
Makefile git-gui: Makefile - Handle $DESTDIR on Cygwin 2008-01-17 22:58:24 -05:00