Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | doh't use "def" for command definitions, it conflicts with Data.Default.def | Joey Hess | 2014-10-14 |
| | |||
* | replace (Key, Backend) with Key | Joey Hess | 2014-04-17 |
| | | | | | | | | | | Only fsck and reinject and the test suite used the Backend, and they can look it up as needed from the Key. This simplifies the code and also speeds it up. There is a small behavior change here. Before, all commands would warn when acting on an annexed file with an unknown backend. Now, only fsck and reinject show that warning. | ||
* | fix inversion of control in CommandSeek (no behavior changes) | Joey Hess | 2014-01-20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've been disliking how the command seek actions were written for some time, with their inversion of control and ugly workarounds. The last straw to fix it was sync --content, which didn't fit the Annex [CommandStart] interface well at all. I have not yet made it take advantage of the changed interface though. The crucial change, and probably why I didn't do it this way from the beginning, is to make each CommandStart action be run with exceptions caught, and if it fails, increment a failure counter in annex state. So I finally remove the very first code I wrote for git-annex, which was before I had exception handling in the Annex monad, and so ran outside that monad, passing state explicitly as it ran each CommandStart action. This was a real slog from 1 to 5 am. Test suite passes. Memory usage is lower than before, sometimes by a couple of megabytes, and remains constant, even when running in a large repo, and even when repeatedly failing and incrementing the error counter. So no accidental laziness space leaks. Wall clock speed is identical, even in large repos. This commit was sponsored by an anonymous bitcoiner. | ||
* | reinject: Allow to be used in direct mode. | Joey Hess | 2013-11-26 |
| | |||
* | hlint | Joey Hess | 2013-09-25 |
| | | | | test suite still passes | ||
* | add section metadata to all commands | Joey Hess | 2013-03-24 |
| | | | | Not yet used .. mindless train work. | ||
* | block all commands that don't work in direct mode | Joey Hess | 2012-12-29 |
| | | | | | I left status working in direct mode, although it doesn't show correct stats for known annex keys. | ||
* | where indentation | Joey Hess | 2012-11-12 |
| | |||
* | reinject: When the provided file doesn't match, leave it where it is, rather ↵ | Joey Hess | 2012-09-16 |
| | | | | than moving to .git/annex/bad/ | ||
* | hlint | Joey Hess | 2012-02-16 |
| | |||
* | type alias cleanup | Joey Hess | 2011-12-31 |
| | |||
* | add back message | Joey Hess | 2011-12-16 |
| | |||
* | reinject: Add a sanity check for using an annexed file as the source file. | Joey Hess | 2011-12-12 |
| | |||
* | better limiting of start actions to only run whenAnnexed | Joey Hess | 2011-11-10 |
| | | | | | Mostly only refactoring, but this does remove one redundant stat of the symlink by copy. | ||
* | better usage | Joey Hess | 2011-11-07 |
| | |||
* | cleanup | Joey Hess | 2011-10-31 |
| | |||
* | better command name | Joey Hess | 2011-10-31 |