From aff377f1fd40d1d5dbfc44e9a3ca37e646c1dcd4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 9 Jan 2018 15:36:56 -0400 Subject: 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. --- CHANGELOG | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGELOG') diff --git a/CHANGELOG b/CHANGELOG index 535fb2d91..fe5dba4cd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,9 @@ git-annex (6.20171215) UNRELEASED; urgency=medium * git-annex.cabal: Add back custom-setup stanza, so cabal new-build works. * Fix several places where files in .git/annex/ were written with modes that did not take the core.sharedRepository config into account. + * 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. -- Joey Hess Wed, 20 Dec 2017 12:11:46 -0400 -- cgit v1.2.3