Commit c656d78d authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fixed the git directory in a working repository

Use the git plumbing "git rev-parse --git-dir" to find the git directory
in a working repository.
parent 86c32b28
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

BIN=`basename "$0"`
GIT="git ${GIT_DIR+--git-dir "${GIT_DIR}"}"
GIT_DIR="${GIT_DIR:-$PWD}"
GIT_DIR="${GIT_DIR:-`git rev-parse --git-dir`}"

usage ()
{