Git with broken hash generation to generate collisions between object IDs. Don't use this! https://undefinedbehavior.de/posts/commit-vandalism/
Go to file
Karsten Blees ae75e1e432 git-gui: handle the encoding of Git's output correctly
If we use 'eval exec $opt $cmdp $args' to execute git command,
tcl engine will convert the output of the git comand with the rule
system default code page to unicode.

But cp936 -> unicode conversion implicitly done by exec is not reversible.
So we have to use git_read instead.

Bug report and an original reproducer by Cloud Chou:
https://github.com/msysgit/git/issues/302

Cloud Chou find the reason of the bug.

Thanks-to: Johannes Schindelin <johannes.schindelin@gmx.de>
Thanks-to: Pat Thoyts <patthoyts@users.sourceforge.net>
Reported-by: Cloud Chou <515312382@qq.com>
Original-test-by: Cloud Chou <515312382@qq.com>
Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Cloud Chou <515312382@qq.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
2016-10-06 09:23:21 +01:00
lib git-gui: unicode file name support on windows 2016-10-06 09:21:50 +01:00
macosx git-gui: Make git-gui lib dir configurable at runime 2014-08-10 12:48:28 +01:00
po Merge branch 'dr/ru' into pu 2016-10-04 23:29:40 +01:00
windows git-gui: chmod +x po2msg, windows/git-gui.sh 2014-01-18 17:06:41 +00:00
.gitattributes git-gui: set whitespace warnings appropriate to this project 2011-11-30 11:35:28 +00:00
.gitignore git-gui: Honor a config.mak in git-gui's top level 2007-10-13 22:14:14 -04:00
git-gui--askpass git-gui: ensure correct application termination in git-gui--askpass 2010-08-18 23:19:24 +01:00
git-gui.sh git-gui: handle the encoding of Git's output correctly 2016-10-06 09:23:21 +01:00
GIT-VERSION-GEN git-gui: set version 0.20 2015-04-18 12:15:32 +01:00
Makefile git-gui: sort entries in tclIndex 2015-05-01 15:53:06 +01:00