git-annex/Annex
Joey Hess e9bfa8eaed avoid unnecessary auto-merge when only changing a file in the branch.
Avoids doing auto-merging in commands that don't need fully current
information from the git-annex branch. In particular, git annex add no
longer needs to auto-merge. Affected commands: Anything that doesn't
look up data from the branch, but does write a change to it.

It might seem counterintuitive that we can change a value without first
making sure we have the current value. This optimisation works because
these two sequences are equivilant:

1. pull from remote
2. union merge
3. read file from branch
4. modify file and write to branch

vs.

1. read file from branch
2. modify file and write to branch
3. pull from remote
4. union merge

After either sequence, the git-annex branch contains the same logical content
for the modified file. (Possibly with lines in a different order or
additional old lines of course).
2011-11-12 15:15:57 -04:00
..
Branch.hs avoid unnecessary auto-merge when only changing a file in the branch. 2011-11-12 15:15:57 -04:00
CatFile.hs lint 2011-11-11 01:52:58 -04:00
Content.hs lint 2011-11-11 01:52:58 -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 add a UUID type 2011-11-07 15:59:16 -04:00
UUID.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
Version.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00