diff options
author | 2013-12-03 10:21:19 +0000 | |
---|---|---|
committer | 2013-12-03 10:21:19 +0000 | |
commit | eb1b5f72b6b33a48764413530f82eaed7b7955ab (patch) | |
tree | 5209e7cdf8fc700766c0974f9d6ec67f545158d9 /doc/bugs | |
parent | 927727f6a64f83e652872c04033725a18d745a1b (diff) |
A bug with direct mode
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/when_syncing_a_direct_repository__44___git_annex_delete_non_annexed_new_git_files.mdwn | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/doc/bugs/when_syncing_a_direct_repository__44___git_annex_delete_non_annexed_new_git_files.mdwn b/doc/bugs/when_syncing_a_direct_repository__44___git_annex_delete_non_annexed_new_git_files.mdwn new file mode 100644 index 000000000..709ca7e8b --- /dev/null +++ b/doc/bugs/when_syncing_a_direct_repository__44___git_annex_delete_non_annexed_new_git_files.mdwn @@ -0,0 +1,53 @@ +### Please describe the problem. +I've a undirect repository that I sync with a direct one (that is on a +crippled filesystem). My repository contain tex file that are directly +in git, and binary file that are annexed. + +If I create or modify an standard git files in my undirect repository, +then sync it with the direct repository, the new file is not created +there, or the modified file is deleted there. + + +### What steps will reproduce the problem? + + $ cd direct + $ echo foo > bar.tex + $ git commit bar.tex -m "new tex file" + $ git annex sync + $ cd /media/direct-repo + $ git annex sync + $ ls bar.tex + +There the bar.tex file don't exist, and the next `git annex sync` will +commit the change. + +The problem exist for some time (I first believed I add a problem with +my usb stick), but now that direct repository are treated somewhat as +bare repository, I don't know of an easy fix. + +### What version of git-annex are you using? On what operating system? + + + +### Please provide any additional information below. + +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log +mkdir direct +cd direct +git init && git annex init "direct" +git annex direct +cd .. +git clone direct indirect +cd indirect +git annex init "indirect" +echo bla > test.tex +git add test.tex +git commit -m "test" +git annex sync +cd ../direct +git annex sync +ls +# End of transcript or log. +"""]] |