summaryrefslogtreecommitdiff
path: root/doc/bugs/direct_mode_sync_should_avoid_git_commit
diff options
context:
space:
mode:
authorGravatar TroisSinges <TroisSinges@web>2013-12-15 10:13:50 +0000
committerGravatar admin <admin@branchable.com>2013-12-15 10:13:50 +0000
commita7c724609e34594083ba5a01d54bd95d34f0263c (patch)
treece005e27679396860e082aa33375615fb3f24421 /doc/bugs/direct_mode_sync_should_avoid_git_commit
parentbf4193472e9235e4e455388d94b667a5d06e452c (diff)
Added a comment: Almost done
Diffstat (limited to 'doc/bugs/direct_mode_sync_should_avoid_git_commit')
-rw-r--r--doc/bugs/direct_mode_sync_should_avoid_git_commit/comment_1_d286800081f019651cd40355b7d5518a._comment27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/bugs/direct_mode_sync_should_avoid_git_commit/comment_1_d286800081f019651cd40355b7d5518a._comment b/doc/bugs/direct_mode_sync_should_avoid_git_commit/comment_1_d286800081f019651cd40355b7d5518a._comment
new file mode 100644
index 000000000..98897593c
--- /dev/null
+++ b/doc/bugs/direct_mode_sync_should_avoid_git_commit/comment_1_d286800081f019651cd40355b7d5518a._comment
@@ -0,0 +1,27 @@
+[[!comment format=mdwn
+ username="TroisSinges"
+ ip="82.227.207.5"
+ subject="Almost done"
+ date="2013-12-15T10:13:50Z"
+ content="""
+Hi!
+
+Thank you for the fix, it's much better now. However, in some case, it doesn't work. For example, when I try to add inject a file in the direct repository (rm symlinkedFile ; mv /tmp/myFile symlinkedFile ; git annex add symlinkedFile), it tries to map each file in memory (which takes a very long time through the network).
+
+ # git annex add bigFile --debug
+ [2013-12-15 11:00:00 CET] read: git [\"--git-dir=/Volumes/Video/Annex/.git\",\"--work-tree=/Volumes/Video/Annex\",\"-c\",\"core.bare=false\",\"ls-files\",\"--others\",\"--exclude-standard\",\"-z\",\"--\",\"bigFile\"]
+ [2013-12-15 11:00:00 CET] read: git [\"--git-dir=/Volumes/Video/Annex/.git\",\"--work-tree=/Volumes/Video/Annex\",\"-c\",\"core.bare=false\",\"ls-files\",\"--modified\",\"-z\",\"--\",\"bigFile\"]
+
+If I use lsof, each another file in repository is mapped in memory:
+
+ # lsof -p 30130
+ git 30130 troissinges 3r REG 46,11 4519526640 3093837953332665982 /Volumes/Video/Annex/AnotherBigFile
+
+My version of software:
+
+ git annex version
+ git-annex version: 5.20131213
+ build flags: Assistant Webapp Pairing Testsuite S3 WebDAV FsEvents XMPP DNS Feeds Quvi TDFA CryptoHash
+ key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
+ remote types: git gcrypt S3 bup directory rsync web webdav glacier hook
+"""]]