Files
git/compat
Johannes Schindelin 23b502e510 mingw: let the Git wrapper determine the top-level directory
The Git wrapper is also used as a redirector for Git for Windows'
bin\bash.exe dropin: for backwards-compatibility, bin\bash.exe exists
and simply sets up the environment variables before executing the
*real* bash.

However, due to our logic to use the directory in which the `.exe`
lives as top-level directory (or one directory below for certain, known
basenames such as `git.exe` and `gitk.exe`), the `PATH` environment
variable was prefixed with the `/bin/bin` and `/bin/mingw/bin`
directories -- which makes no sense.

Instead, let's just auto-detect the top-level directory in the common
case.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-04-04 08:04:08 +02:00
..
2014-06-03 12:06:40 -07:00
2016-01-04 09:51:33 -08:00
2016-03-04 13:46:25 -08:00
2013-09-11 11:08:52 -07:00
2013-04-12 12:23:20 -07:00