From: Shawn O. Pearce Date: Thu, 16 Nov 2006 03:45:33 +0000 (-0500) Subject: git-gui: Protect ourselves from funny GIT_DIR/working directory setups. X-Git-Tag: gitgui-0.6.0~205 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/dbccbbda4f4c049552495a87b1747b1b2a1e2823?ds=inline;hp=dbccbbda4f4c049552495a87b1747b1b2a1e2823 git-gui: Protect ourselves from funny GIT_DIR/working directory setups. Since we have some serious problems with the GIT_DIR environment variable on Windows we cannot let the user use a non-standard GIT_DIR with their working directory. So require that the GIT_DIR name is actually ".git", that it exists, and that its parent directory is our working directory. Signed-off-by: Shawn O. Pearce ---