summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-11 14:54:29 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-11 14:54:29 -0400
commitdffe9499630a8dded76b23ef762f03aa264dc45c (patch)
tree5dcbfff9b0a5ba070c85336fcb643f6a528816f4 /debian
parent8a8987579f8efe290e5084202a416f72eec491a6 (diff)
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.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 0c09eb7ea..a4c8bceac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+git-annex (0.05) UNRELEASED; urgency=low
+
+ * Optimize both pre-commit and lock subcommands.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 11 Nov 2010 14:52:05 -0400
+
git-annex (0.04) unstable; urgency=low
* Add unlock subcommand, which replaces the symlink with a copy of