diff options
author | Joey Hess <joeyh@joeyh.name> | 2018-01-09 15:36:56 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2018-01-09 16:22:07 -0400 |
commit | aff377f1fd40d1d5dbfc44e9a3ca37e646c1dcd4 (patch) | |
tree | ca6311b6565f217b1b037c7096d82c791cf010b9 /Annex/Branch.hs | |
parent | 008fe331573e259960c268e4bd30eb0c851dafb7 (diff) |
Improve startup time for commands that do not operate on remotes
And for tab completion, by not unnessessarily statting paths to remotes,
which used to cause eg, spin-up of removable drives.
Got rid of the remotes member of Git.Repo. This was a bit painful.
Remote.Git modifies the list of remotes as it reads their configs,
so still need a persistent list of remotes. So, put it in as
Annex.gitremotes. It's only populated by getGitRemotes, so commands
like examinekey that don't care about remotes won't do so.
This commit was sponsored by Jake Vosloo on Patreon.
Diffstat (limited to 'Annex/Branch.hs')
-rw-r--r-- | Annex/Branch.hs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Annex/Branch.hs b/Annex/Branch.hs index 2c7683e9e..c8f2f4c2f 100644 --- a/Annex/Branch.hs +++ b/Annex/Branch.hs @@ -60,7 +60,6 @@ import Logs.Transitions import Logs.File import Logs.Trust.Pure import Logs.Difference.Pure -import Annex.ReplaceFile import qualified Annex.Queue import Annex.Branch.Transitions import qualified Annex |