git-annex/Logs
Joey Hess cedc28a783
prevent dropping required content of other file using same content
When two files have the same content, and a required content expression
matches one but not the other, dropping the latter file will fail as it
would also remove the content of the required file.

This will slow down drop (w/o --auto), dropunused, mirror, and move, by one
keys db lookup per file. But I did include an optimisation to avoid a
double db lookup in the drop --auto / sync --content case. I suspect that
dropunused could also use PreferredContentChecked True, but haven't
entirely thought it through and it's rarely used with enough files for the
optimisation to matter.

Sponsored-by: Dartmouth College's Datalad project
2021-05-25 11:34:06 -04:00
..
Chunk update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
ContentIdentifier Fix build with attoparsec-0.14 2021-03-24 12:11:50 -04:00
Difference update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Export forget: Preserve currently exported trees 2021-04-13 15:00:23 -04:00
MetaData update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
PreferredContent start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
Presence update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Remote Fix build with attoparsec-0.14 2021-03-24 12:11:50 -04:00
SingleValue update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Trust start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
Activity.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
Chunk.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
Config.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
ContentIdentifier.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
Difference.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
Export.hs convert formatLsTree to ByteString for speed 2021-05-17 10:46:24 -04:00
File.hs more RawFilePath conversion 2020-11-05 18:45:37 -04:00
FsckResults.hs more RawFilePath conversion 2020-10-29 12:03:50 -04:00
Group.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
Line.hs Fix build with attoparsec-0.14 2021-03-24 12:11:50 -04:00
Location.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
MapLog.hs Fix build with attoparsec-0.14 2021-03-24 12:11:50 -04:00
MetaData.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
Multicast.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
NumCopies.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
PreferredContent.hs prevent dropping required content of other file using same content 2021-05-25 11:34:06 -04:00
Presence.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
Remote.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
RemoteState.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
Schedule.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
SingleValue.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
Smudge.hs more RawFilePath conversion 2020-11-03 10:11:04 -04:00
Transfer.hs suggest when user may want annex.stalldetection 2021-02-03 15:57:19 -04:00
Transitions.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Trust.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
Unused.hs more RawFilePath conversion 2020-10-29 12:03:50 -04:00
UUID.hs start implementing hidden git-annex repositories 2021-04-20 15:04:53 -04:00
UUIDBased.hs Fix build with attoparsec-0.14 2021-03-24 12:11:50 -04:00
View.hs more RawFilePath conversion 2020-10-29 12:03:50 -04:00
Web.hs fix build after merge 2021-04-23 13:26:10 -04:00