aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorGravatar Michel <Michel@web>2017-03-02 09:20:15 +0000
committerGravatar admin <admin@branchable.com>2017-03-02 09:20:15 +0000
commit695b39619f502ba04a3c17c63230a817acdd8a72 (patch)
tree1c8f4df66ea96593a75254754975804bc0a89116 /doc/bugs
parentf886a58b056fba4277bb84d81118bb616e9eb580 (diff)
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/Empty_files_make_git_status_slow.mdwn26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/bugs/Empty_files_make_git_status_slow.mdwn b/doc/bugs/Empty_files_make_git_status_slow.mdwn
new file mode 100644
index 000000000..f8438f4ef
--- /dev/null
+++ b/doc/bugs/Empty_files_make_git_status_slow.mdwn
@@ -0,0 +1,26 @@
+### Please describe the problem.
+
+When empty files are committed to a repository, git status becomes slow because git annex smudge is run for every empty file under git annex even with clean HEAD. I know git annex is for large files (rather than infinity small ones), but I'm using it to manage a GRASS GIS database, which oddly uses empty files for some things:/
+
+### What steps will reproduce the problem?
+```
+# slow
+touch emptyfile
+git add emptyfile
+git commit -a -m 'Added empty file.'
+GIT_TRACE=1 git status
+
+# fast
+cat 1 > emptyfile
+git commit -a -m 'Added a 1 to emptyfile.'
+GIT_TRACE=1 git status
+```
+
+### What version of git-annex are you using? On what operating system?
+- git-annex version: 6.20170228-g7a32e08c4
+- operating system: linux x86_64 (SLE 12.2)
+- local repository version: 6
+
+
+### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
+Yes, git with git annex has revolutionised my scientific project file organisation and thats why I want to improve it.