From 7c3f0eae77b07ccc65c4e30d9eb1288781bd0c02 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 21 Jan 2014 18:46:39 -0400 Subject: benchmarked numcopies .gitattributes in preferred content Checking .gitattributes adds a full minute to a git annex find looking for files that don't have enough copies. 2:25 increasts to 3:27. I feel this is too much of a slowdown to justify making it the default. So, exposed two versions of the preferred content expression, a slow one and a fast but approximate one. I'm using the approximate one in the default preferred content expressions to avoid slowing down the assistant. --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/changelog') diff --git a/debian/changelog b/debian/changelog index d41d2aac1..aba8a5d3f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,7 +14,7 @@ git-annex (5.20140118) UNRELEASED; urgency=medium command is used to set the global number of copies, any annex.numcopies git configs will be ignored. * assistant: Make the prefs page set the global numcopies. - * Add numcopiesneeded preferred content expression. + * Add lackingcopies and approxlackingcopies preferred content expressions. * Client, transfer, incremental backup, and archive repositories now want to get content that does not yet have enough copies. * repair: Check git version at run time. -- cgit v1.2.3