dffe949963
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. |
||
---|---|---|
.. | ||
Add.hs | ||
Drop.hs | ||
DropKey.hs | ||
Fix.hs | ||
FromKey.hs | ||
Fsck.hs | ||
Get.hs | ||
Init.hs | ||
Lock.hs | ||
Move.hs | ||
PreCommit.hs | ||
SetKey.hs | ||
Unannex.hs | ||
Unlock.hs |