Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


The git contributor script crunches through repos and invokes git to
gather data. However, the dictionaries are 100k lines of code changes
and git log --numstat literally works for hours on those commits.

All other LO git repos take about 5-10 minutes to
analyze. lib-extern-sys takes about 5 hours!

Treating those dictionaries as binary files has no side-effect other
than that git won't try to show a diff for those commits and
dictionary updater are no longer statistical outliers with 300kLOC
added in our contributor analysis.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
---
 .gitattributes |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
 create mode 100644 .gitattributes

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..4750805
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+dictionaries/**/*.dic binary
+dictionaries/**/*.dat binary
+dictionaries/**/*.idx binary
-- 
1.7.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.