Avoid loading cluster log at startup

This fixes a problem with datalad's test suite, where loading the cluster
log happened to cause the git-annex branch commits to take a different
shape, with an additional commit.

It's also faster though, since many commands don't need the cluster log.

Just fill Annex.clusters with a thunk.

Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
This commit is contained in:
Joey Hess 2024-07-31 15:54:14 -04:00
parent 7c6c3e703b
commit 3a1f39fbdf
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
7 changed files with 30 additions and 7 deletions

View file

@ -186,3 +186,5 @@ add-archive-content(ok): /home/yoh/.tmp/datalad_temp_tree_rsua9kmg (dataset)
[[!meta author=yoh]]
[[!tag projects/repronim]]
> [[fixed|done]] --[[Joey]]

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2024-07-31T19:50:38Z"
content="""
Aha! I found a way around the dependency loop.
This is fixed.
"""]]