summaryrefslogtreecommitdiff
path: root/GitQueue.hs
Commit message (Collapse)AuthorAge
* use queue when upgrading, flushing every so oftenGravatar Joey Hess2011-03-16
| | | | | | | | | | | | | | | | | Added a cheap way to query the size of a queue. runQueueAt is not the default yet only because there may be some code that expects to be able to queue some suff, do something else, and run the whole queue at the end. 10240 is an arbitrary size for the queue. If we assume annexed filenames are between 10 and 255 characters long, then the queue will build up between 100kb and 2550kb long commands. The max command line length on linux is somewhere above 20k, so this is a fairly good balance -- the queue will buffer only a few megabytes of stuff and a minimal number of commands will be run by xargs. Also, insert queue items strictly, this should save memory.
* renameGravatar Joey Hess2011-02-28
|
* use ShellParam typeGravatar Joey Hess2011-02-28
| | | | | So, I have a type checked safe handling of filenames starting with dashes, throughout the code.
* use forM_ in a few placesGravatar Joey Hess2011-01-31
|
* use mapM_Gravatar Joey Hess2011-01-31
|
* hlint tweaksGravatar Joey Hess2010-11-22
| | | | Remotes.hs next, and also Backend/* and Command/*
* hlinted a few filesGravatar Joey Hess2010-11-06
|
* bugfix: really run GitQueue against specified repo, not necessarily pwdGravatar Joey Hess2010-10-31
|
* got rid of almost all 'return ()'Gravatar Joey Hess2010-10-28
|
* copyright statements0.02Gravatar Joey Hess2010-10-27
|
* use xargsGravatar Joey Hess2010-10-27
|
* add git queue to Annex monadGravatar Joey Hess2010-10-26
not used anywhere just yet..