summaryrefslogtreecommitdiff
path: root/GitAnnex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-02 02:40:43 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-02 02:40:43 -0400
commitbcb72ce0f2623a77d18f8064738ba26661dad762 (patch)
tree89d9535c599ad9cd628116860139efc85ce0623d /GitAnnex.hs
parentf2cc87860ccb4ccb4a51dd9d255717a0e749fe76 (diff)
tweak
Diffstat (limited to 'GitAnnex.hs')
-rw-r--r--GitAnnex.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs
index b22313d3c..103ee262f 100644
--- a/GitAnnex.hs
+++ b/GitAnnex.hs
@@ -113,6 +113,4 @@ header :: String
header = "Usage: git-annex command [option ..]"
run :: [String] -> IO ()
-run args = do
- gitrepo <- Git.repoFromCwd
- dispatch gitrepo args cmds options header
+run args = dispatch args cmds options header =<< Git.repoFromCwd