git-annex/doc/todo/hide_missing_files
Joey Hess 4a788fbb3b
sync --content now supports --hide-missing adjusted branches
This relies on git ls-files --with-tree, which I'm using in a way that
its man page does not document. Hm. I emailed the git list to try to get
the docs improved, but at least the git test suite does test the same
kind of use case I'm using here.

Performance impact when not in an adjusted branch is limited to some
additional MVar accesses, and a single git call to determine the name of
the current branch. So very minimal.

When in an adjusted branch, the performance impact is
in Annex.WorkTree.lookupFile, which starts doing an equal amount of work
for files that didn't exist as it already did for files that were
unlocked.

This commit was sponsored by Jochen Bartl on Patreon.
2018-10-19 17:51:25 -04:00
..
comment_1_9851558a528119279a901e97de285d39._comment
comment_2_bdae4301aa8ddc6621d4eb2612627069._comment idea 2018-10-14 01:30:36 -04:00
comment_3_a9590ef65875a68eb1d1d7becc98b8b8._comment more thoughts 2018-10-17 13:26:54 -04:00
comment_4_e3bf8aaecc0f612873609c92814dcd12._comment sync --content now supports --hide-missing adjusted branches 2018-10-19 17:51:25 -04:00