aboutsummaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-10-27 14:38:59 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-10-27 14:55:06 -0400
commitc30366e95aa8967112cec0103393ea2b39ddf1c6 (patch)
tree0193174929ec53ad0def2b7f7a5c04d337d5738a /Annex.hs
parent373cad993d9f12a9dfb7473fdba78e92af6eff99 (diff)
improve config reading when operating on remote on same host
Before the config was read each time onLocal was called, and entirely redundantly since it's read for same-host remotes on startup. Also a minor bug fix: When rsyncing to a same-host remote, use the rsync-options from the repository that the user ran git-annex in, not those of the receiving repository.
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Annex.hs b/Annex.hs
index 687753774..b9e71c931 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -12,6 +12,7 @@ module Annex (
AnnexState(..),
OutputType(..),
new,
+ newState,
run,
eval,
getState,