avoid displaying the scanning annexed files message when repo is not large
authorJoey Hess <joeyh@joeyh.name>
Fri, 4 Jun 2021 17:16:48 +0000 (13:16 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 4 Jun 2021 17:16:48 +0000 (13:16 -0400)
commit0434674c85d7c31a1d29561131340f7c8a96b101
tree6ad1ebf599a5030a9ac8e0c7beb7baccd350f700
parent95cec1bdfec3633e179f9d910a090808ba5e0bd1
avoid displaying the scanning annexed files message when repo is not large

Avoids users thinking this scan is a big deal, when it's not in the
majority of repos.

showSideActionAfter has some ugly caveats, since it has to display in
the background of another action. I could not see a better way to do it
and it works fine in this particular case. It also doesn't really belong
in Annex.Concurrent, but cannot go in Messages due to an import loop.

Sponsored-by: Dartmouth College's Datalad project
Annex/Concurrent.hs
Annex/Init.hs
Utility/ThreadScheduler.hs
doc/todo/init__58__do_not_bother_scanning_if_in_git-annex_branch/comment_2_2cbfb22e8f1d89d4f78ade565554cb1c._comment [new file with mode: 0644]