git-annex/Annex
Joey Hess 8680c415de slow, stupid, and safe index updating
Always merge the git-annex branch into .git/annex/index before making a
commit from the index.

This ensures that, when the branch has been changed in any way
(by a push being received, or changes pulled directly into it, or
even by the user checking it out, and committing a change), the index
reflects those changes.

This is much too slow; it needs to be optimised to only update the
index when the branch has really changed, not every time.

Also, there is an unhandled race, when a change is made to the branch
right after the index gets updated. I left it in for now because it's
unlikely and I didn't want to complicate things with additional locking
yet.
2011-12-11 15:05:53 -04:00
..
Branch.hs slow, stupid, and safe index updating 2011-12-11 15:05:53 -04:00
CatFile.hs improve type signatures with a Ref newtype 2011-11-16 02:41:46 -04:00
Content.hs hslint 2011-12-09 01:57:13 -04:00
Exception.hs rename 2011-10-05 16:02:51 -04:00
Queue.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
Ssh.hs hslint 2011-12-09 01:57:13 -04:00
UUID.hs tweaks 2011-11-19 15:57:08 -04:00
Version.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00