0214e0fb17
Union merges involving two or more repositories could sometimes result in data from one repository getting lost. This could result in the location log data becoming wrong, and fsck being needed to fix it. NB: I audited for any other occurrences of this problem. There are other places than union merge where multiple changes are fed into update-index in a stream, but they all involve working copy files being staged, or their deletion being staged, and in this case it's fine for the later changes to override the earlier ones. |
||
---|---|---|
.. | ||
AutoCorrect.hs | ||
Branch.hs | ||
CatFile.hs | ||
CheckAttr.hs | ||
Command.hs | ||
Config.hs | ||
Construct.hs | ||
CurrentRepo.hs | ||
DiffTree.hs | ||
Filename.hs | ||
FilePath.hs | ||
HashObject.hs | ||
Index.hs | ||
LsFiles.hs | ||
LsTree.hs | ||
Merge.hs | ||
Queue.hs | ||
Ref.hs | ||
Remote.hs | ||
Sha.hs | ||
SharedRepository.hs | ||
Types.hs | ||
UnionMerge.hs | ||
UpdateIndex.hs | ||
Url.hs | ||
Version.hs |