git-annex/Git
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
..
Command
Remote
AutoCorrect.hs
Branch.hs
BuildVersion.hs fold Build/SysConfig.hs into BuildInfo via include 2017-12-14 12:46:57 -04:00
CatFile.hs Support newlines in filenames. 2018-09-20 13:45:44 -04:00
CheckAttr.hs
CheckIgnore.hs
Command.hs Support newlines in filenames. 2018-09-20 13:45:44 -04:00
Config.hs Improve startup time for commands that do not operate on remotes 2018-01-09 16:22:07 -04:00
ConfigTypes.hs post-recive hook to make updateInstead work in direct mode and adjusted branches 2017-02-17 14:04:43 -04:00
Construct.hs Support working trees set up by git-worktree. 2018-07-18 14:27:26 -04:00
CurrentRepo.hs fix reversions due to undocumented and buggy git behavior 2018-09-11 15:54:21 -04:00
DiffTree.hs unused: Improved memory use significantly when there are a lot of differences between branches. 2017-01-31 19:42:00 -04:00
DiffTreeItem.hs
Env.hs removed the old Android app 2018-10-13 01:41:11 -04:00
FileMode.hs
Filename.hs fix failing quickcheck properties 2017-06-17 16:48:00 -04:00
FilePath.hs
Fsck.hs removed the old Android app 2018-10-13 01:41:11 -04:00
GCrypt.hs
HashObject.hs
Hook.hs improve back-compat of post-receive hook 2018-09-25 15:02:12 -04:00
Index.hs avoid update-index race 2018-08-17 16:03:40 -04:00
LockFile.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
LsFiles.hs sync --content now supports --hide-missing adjusted branches 2018-10-19 17:51:25 -04:00
LsTree.hs adjust: Fix behavior when used in a repository that contains submodules. 2017-02-20 13:44:55 -04:00
Merge.hs
Objects.hs
Queue.hs queueing of internal IO actions on files 2018-08-17 13:28:21 -04:00
Ref.hs typo fix 2017-10-30 12:28:44 -04:00
RefLog.hs
Remote.hs Improve startup time for commands that do not operate on remotes 2018-01-09 16:22:07 -04:00
Repair.hs rename BlobType and add submodule to it 2018-05-14 14:45:41 -04:00
Sha.hs
Ssh.hs avoid the dashed ssh hostname class of security holes 2017-08-17 22:11:31 -04:00
Status.hs Don't allow entering a view with staged or unstaged changes. 2018-05-14 16:51:06 -04:00
Tree.hs graft exported tree into git-annex branch 2017-08-31 18:06:49 -04:00
Types.hs rename BlobType and add submodule to it 2018-05-14 14:45:41 -04:00
UnionMerge.hs rename BlobType and add submodule to it 2018-05-14 14:45:41 -04:00
UpdateIndex.hs avoid update-index race 2018-08-17 16:03:40 -04:00
Url.hs
Version.hs