git-annex/debian
Joey Hess 2de50f733a smart commit thread
The commit thread now has access to a channel containing the times of
all uncommitted changes. This lets it be smart about detecting busy times
when a batch job is running (such as rm -rf, or untarring something, etc),
and avoid committing until it's done. While at the same time, instantly
committing one-off changes that the user is going to expect to see
immediately.

I had to use STM to implement the channel, because of
http://hackage.haskell.org/trac/ghc/ticket/4154
While this adds a dependency, I always wanted to use STM, so this actually
makes me happy. ;)

Also happy that shouldCommit is a pure function, so other commit smartness
strategies can easily be played with. Although the current one seems pretty
good.

There is one bug, for some reason it does double commits, every time.
2012-06-10 16:07:48 -04:00
..
changelog Merge branch 'master' into watch 2012-06-07 13:48:55 -04:00
compat debhelper v9 2012-01-15 14:53:38 -04:00
control smart commit thread 2012-06-10 16:07:48 -04:00
copyright add a favicon 2012-05-10 14:18:35 -04:00
doc-base Add doc-base file. Closes: #621408 2011-04-06 21:57:22 -04:00
NEWS releasing version 3.20120123 2012-01-23 15:09:50 -04:00
rules update 2010-10-27 15:08:46 -04:00