Git with broken hash generation to generate collisions between object IDs. Don't use this! https://undefinedbehavior.de/posts/commit-vandalism/
Go to file
John Keeping 2f38dd03fc git-gui: fix file name handling with non-empty prefix
Commit e3d06ca (git-gui: Detect full path when parsing arguments -
2012-10-02) fixed the handling of absolute paths passed to the browser
and blame subcommands by checking whether the file exists without the
prefix before prepending the prefix and checking again.  Since we have
chdir'd to the top level of the working tree before doing this, this
does not work if a file with the same name exists in a subdirectory and
at the top level (for example Makefile in git.git's t/ directory).

Instead of doing this, revert that patch and fix absolute path issue by
using "file join" to prepend the prefix to the supplied path.  This will
correctly handle absolute paths by skipping the prefix in that case.

Acked-by: Andrew Wong <andrew.kw.w@gmail.com>
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
2013-06-07 23:03:29 +01:00
lib git-gui: change dialog button positions for Windows to suit platform. 2013-05-17 10:51:01 +01:00
macosx git-gui: Use PWD if it exists on Mac OS X 2012-03-10 23:16:24 +00:00
po French translation: copy -> copie. 2012-11-28 21:29:21 +00:00
windows git-gui: fix PATH environment for mingw development environment 2010-07-30 09:57:26 +01: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: fix file name handling with non-empty prefix 2013-06-07 23:03:29 +01:00
GIT-VERSION-GEN git-gui 0.17 2012-10-17 21:57:29 +01:00
Makefile Makefile: replace "echo 1>..." with "echo >..." 2012-12-25 00:21:59 +00:00