summaryrefslogtreecommitdiff
path: root/Command/Lock.hs
Commit message (Collapse)AuthorAge
* Fix locking of files with staged changes.Gravatar Joey Hess2011-05-31
| | | | | Previously, lock would skip files that had staged changes, but that is counterintuitive, I think.
* Massively sped up `git annex lock` by avoiding use of the uber-slow `git ↵Gravatar Joey Hess2011-05-31
| | | | reset`, and only running `git checkout` once, even when many files are being locked.
* refactor some boilerplateGravatar Joey Hess2011-05-15
|
* avoid version check before running version and upgrade commandsGravatar Joey Hess2011-03-19
| | | | | There are two types of commands; those that access the repository and those that don't. Sorted.
* use ShellParam typeGravatar Joey Hess2011-02-28
| | | | | So, I have a type checked safe handling of filenames starting with dashes, throughout the code.
* refactor in preparation for adding a git-annex-shell commandGravatar Joey Hess2010-12-30
|
* rename some stuff and prepare to break out more into Command/*Gravatar Joey Hess2010-12-30
|
* refactor param seekingGravatar Joey Hess2010-11-11
|
* rework command dispatching for add and pre-commitGravatar Joey Hess2010-11-11
| | | | | Both subcommands do two different operations on different sets of files, so allowing a subcommand to perform a list of operations cleans things up.
* Optimize both pre-commit and lock subcommands.Gravatar Joey Hess2010-11-11
| | | | | | | | isLocked was doing the expensive check before the cheap one. Let's not fork git diff twice per file when committing, especially. git diff is still run more than strictly necessary (ie, more than once) if multiple unlocked files are being committed. But much better now.
* use new git functionGravatar Joey Hess2010-11-10
|
* fix handling of staged unlocked filesGravatar Joey Hess2010-11-10
|
* lock and unlock subcommandsGravatar Joey Hess2010-11-09