git-annex/Command
Joey Hess dffe949963 Optimize both pre-commit and lock subcommands.
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.
2010-11-11 14:54:29 -04:00
..
Add.hs use -- before filenames when running git add, git rm, etc 2010-11-10 14:15:21 -04:00
Drop.hs Annexed file contents are now made unwritable and put in unwriteable directories, to avoid them accidentially being removed or modified. (Thanks Josh Triplett for the idea.) 2010-11-08 19:26:37 -04:00
DropKey.hs Annexed file contents are now made unwritable and put in unwriteable directories, to avoid them accidentially being removed or modified. (Thanks Josh Triplett for the idea.) 2010-11-08 19:26:37 -04:00
Fix.hs use -- before filenames when running git add, git rm, etc 2010-11-10 14:15:21 -04:00
FromKey.hs use -- before filenames when running git add, git rm, etc 2010-11-10 14:15:21 -04:00
Fsck.hs refactoring, no code changes really 2010-11-08 15:15:21 -04:00
Get.hs refactoring, no code changes really 2010-11-08 15:15:21 -04:00
Init.hs set version on init 2010-11-08 16:40:28 -04:00
Lock.hs Optimize both pre-commit and lock subcommands. 2010-11-11 14:54:29 -04:00
Move.hs use -- before filenames when running git add, git rm, etc 2010-11-10 14:15:21 -04:00
PreCommit.hs Optimize both pre-commit and lock subcommands. 2010-11-11 14:54:29 -04:00
SetKey.hs Annexed file contents are now made unwritable and put in unwriteable directories, to avoid them accidentially being removed or modified. (Thanks Josh Triplett for the idea.) 2010-11-08 19:26:37 -04:00
Unannex.hs use -- before filenames when running git add, git rm, etc 2010-11-10 14:15:21 -04:00
Unlock.hs set write bit on unlocked file 2010-11-10 12:50:00 -04:00