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.
This commit is contained in:
parent
373cad993d
commit
c30366e95a
2 changed files with 17 additions and 10 deletions
1
Annex.hs
1
Annex.hs
|
@ -12,6 +12,7 @@ module Annex (
|
|||
AnnexState(..),
|
||||
OutputType(..),
|
||||
new,
|
||||
newState,
|
||||
run,
|
||||
eval,
|
||||
getState,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue