Run git using --git-dir instead of GIT_DIR.
commit91ba22bc3209a86d15511f28ed7b436d0cd7fef7
authorHeikki Hokkanen <hoxu@users.sf.net>
Thu, 11 Jun 2009 13:53:05 +0000 (11 16:53 +0300)
committerHeikki Hokkanen <hoxu@users.sf.net>
Thu, 11 Jun 2009 13:53:05 +0000 (11 16:53 +0300)
tree8bf6a0b38837e25158cfd9e8537d3a9490bae41b
parente3b3864666f21a7ccdc43780458eeb559b0d5b16
Run git using --git-dir instead of GIT_DIR.

git accepts the git dir two ways: "GIT_DIR=/foo git" and "git --git-dir=/foo"

The latter one is more portable, so we use it.

According to Robert Persaud, this is needed to get viewgit working on Windows
2003 server cygwin install (but not the only change needed).
inc/functions.php