summaryrefslogtreecommitdiff
path: root/GitAnnex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-01-13 12:52:09 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-01-13 12:52:09 -0400
commit1ae780ee7990dc542a61714522c902754e76fb05 (patch)
tree1adfc326dc9110dcf7421304980103b981a6701d /GitAnnex.hs
parentdaff9029ba85cee772b707add61e8ce1d7fd953f (diff)
git-annex, git-union-merge: Support GIT_DIR and GIT_WORK_TREE.
Note that GIT_WORK_TREE cannot influence GIT_DIR; that is necessary for git-fake-bare and vcsh type things to work.
Diffstat (limited to 'GitAnnex.hs')
-rw-r--r--GitAnnex.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs
index 78f20e9d1..bc3541676 100644
--- a/GitAnnex.hs
+++ b/GitAnnex.hs
@@ -129,4 +129,4 @@ header :: String
header = "Usage: git-annex command [option ..]"
run :: [String] -> IO ()
-run args = dispatch args cmds options header Git.Construct.fromCwd
+run args = dispatch args cmds options header Git.Construct.fromCurrent