diff options
author | 2012-02-14 12:40:40 -0400 | |
---|---|---|
committer | 2012-02-14 12:40:40 -0400 | |
commit | 90a8b38ac048d2a9a7caeb68d70d5148fb4148b8 (patch) | |
tree | 8095c25b6dbe1308151bd2fd20a88ef88e418cb2 /git-annex-shell.hs | |
parent | 33e03d58ae2a351b137ca8e32fa704d240e626e0 (diff) |
set oneshot mode on a per-command basis
Avoids ugly (and test suite failing) hack in Command.Version
Diffstat (limited to 'git-annex-shell.hs')
-rw-r--r-- | git-annex-shell.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-annex-shell.hs b/git-annex-shell.hs index e747a447b..4fdeae1a8 100644 --- a/git-annex-shell.hs +++ b/git-annex-shell.hs @@ -82,7 +82,7 @@ builtins = map cmdname cmds builtin :: String -> String -> [String] -> IO () builtin cmd dir params = do checkNotReadOnly cmd - dispatch True (cmd : filterparams params) cmds options header $ + dispatch (cmd : filterparams params) cmds options header $ Git.Construct.repoAbsPath dir >>= Git.Construct.fromAbsPath external :: [String] -> IO () |