diff options
author | Joey Hess <joey@kitenet.net> | 2011-10-27 14:38:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-10-27 14:55:06 -0400 |
commit | c30366e95aa8967112cec0103393ea2b39ddf1c6 (patch) | |
tree | 0193174929ec53ad0def2b7f7a5c04d337d5738a /Annex.hs | |
parent | 373cad993d9f12a9dfb7473fdba78e92af6eff99 (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.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ module Annex ( AnnexState(..), OutputType(..), new, + newState, run, eval, getState, |