git-annex/Logs
Joey Hess 643b233860 an optimization that also fixes a reversion
This is a little optimisation; avoid loading the info file for the
download of the current key when checking for other downloads.

The reversion it fixes is sorta strange.
a812d598ef broke checking for transfers
that were already in progress. Indeed, the transfer lock was not held
after getTransfers was called.

Why? I think it's magic in ghc's handling of getLock and setLock,
although it's hard to tell since those functions are almost entirely
undocumented as to their semantics.

Something, either the RTS (or maybe it's linux?) notices that the
same process has taken a lock and is now calling getLock on a FD attached
to the same file. So, it drops the lock.

So, this optimisation avoids that problematic behavior.
2015-05-12 18:34:49 -04:00
..
Chunk update my email address and homepage url 2015-01-21 12:50:09 -04:00
Difference rejigger imports for clean build with ghc 7.10's AMP changes 2015-05-10 16:20:30 -04:00
PreferredContent update my email address and homepage url 2015-01-21 12:50:09 -04:00
Presence support time-1.5.0 2015-05-10 15:21:35 -04:00
Trust update my email address and homepage url 2015-01-21 12:50:09 -04:00
Activity.hs Fix activity log parsing. 2015-04-09 21:02:38 -04:00
Chunk.hs implement annex.tune.branchhash1 2015-01-28 17:17:26 -04:00
Difference.hs rejigger imports for clean build with ghc 7.10's AMP changes 2015-05-10 16:20:30 -04:00
FsckResults.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Group.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Location.hs rethought distributed fsck; instead add activity.log and expire command 2015-04-05 12:50:02 -04:00
MapLog.hs support time-1.5.0 2015-05-10 15:21:35 -04:00
MetaData.hs more time-1.5 fixes 2015-05-10 15:36:58 -04:00
NumCopies.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
PreferredContent.hs import Data.Default in Common 2015-01-28 16:11:28 -04:00
Presence.hs rethought distributed fsck; instead add activity.log and expire command 2015-04-05 12:50:02 -04:00
Remote.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
RemoteState.hs implement annex.tune.branchhash1 2015-01-28 17:17:26 -04:00
Schedule.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
SingleValue.hs support time-1.5.0 2015-05-10 15:21:35 -04:00
TimeStamp.hs couple of AMP warnings I missed before 2015-05-10 16:51:03 -04:00
Transfer.hs an optimization that also fixes a reversion 2015-05-12 18:34:49 -04:00
Transitions.hs support time-1.5.0 2015-05-10 15:21:35 -04:00
Trust.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Unused.hs support time-1.5.0 2015-05-10 15:21:35 -04:00
UUID.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
UUIDBased.hs support time-1.5.0 2015-05-10 15:21:35 -04:00
View.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Web.hs fsck: Added --distributed and --expire options, for distributed fsck. 2015-04-01 17:53:16 -04:00