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 <sebast...@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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to