summaryrefslogtreecommitdiff
path: root/doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-12 12:57:18 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-12 12:57:18 -0400
commitca10c06819aacc50d4423836ce51fc4486803789 (patch)
treee96072aef36f12d28d715fd4b7396d3fea4eef4c /doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_
parent024dd384140b25f69defd762e41fd5e4af4f3567 (diff)
rename files containing :
This is mostly to let the repo check out on windows w/o using cygwin's git. But, bash completion is also crap with : , so ..
Diffstat (limited to 'doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_')
-rw-r--r--doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_1_36d1207818c8db747dbf94d9a48e3e98._comment9
-rw-r--r--doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_2_82f1c3c6aaeb488582ee08518b193f99._comment27
-rw-r--r--doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_3_db50cbdc302480c4b1fe0f364aa769d9._comment19
3 files changed, 55 insertions, 0 deletions
diff --git a/doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_1_36d1207818c8db747dbf94d9a48e3e98._comment b/doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_1_36d1207818c8db747dbf94d9a48e3e98._comment
new file mode 100644
index 000000000..3750d1a28
--- /dev/null
+++ b/doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_1_36d1207818c8db747dbf94d9a48e3e98._comment
@@ -0,0 +1,9 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2015-03-16T17:34:22Z"
+ content="""
+Well, non-bare git repositories are supposed to have a .git/index file.
+
+Perhaps some damage to your USB stick caused it to lose this file?
+"""]]
diff --git a/doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_2_82f1c3c6aaeb488582ee08518b193f99._comment b/doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_2_82f1c3c6aaeb488582ee08518b193f99._comment
new file mode 100644
index 000000000..457c288dd
--- /dev/null
+++ b/doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_2_82f1c3c6aaeb488582ee08518b193f99._comment
@@ -0,0 +1,27 @@
+[[!comment format=mdwn
+ username="clement"
+ subject="Details"
+ date="2015-03-27T10:34:26Z"
+ content="""
+I tried it again with dfifferent usbs and filesystems, and it looks like it only
+happens with VFAT (e.g not ext). Retracing my step, here is what I do:
+
+1. Create a repository on my local machine using git-annex assistant.
+
+2. Create another non-bare repository on a VFAT usb stick and combine the two.
+
+3. Add a file to the local repository
+
+4. I doesn't synchronise and log shows the missing index error.
+
+It also happens the other way around. If I
+
+1. Create a repository on the usb device, and
+
+2. create a paired repository on my machine, I get a straight up
+
+ Internal Server Error
+
+ /mnt/USB/annexdir/.git/index: copyFile: does not exist (No such file or directory)
+
+"""]]
diff --git a/doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_3_db50cbdc302480c4b1fe0f364aa769d9._comment b/doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_3_db50cbdc302480c4b1fe0f364aa769d9._comment
new file mode 100644
index 000000000..515ad0b7b
--- /dev/null
+++ b/doc/bugs/Assistant__58___synchronisation_between_two_regular_repositories_hangs_/comment_3_db50cbdc302480c4b1fe0f364aa769d9._comment
@@ -0,0 +1,19 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 3"""
+ date="2015-09-22T16:25:15Z"
+ content="""
+Ok, that seems clear enough, and there's only 1 place where git-annex
+copies .git/index; in `mergeDirect`. Indeed, if .git/index doesn't exist
+yet when that is called, it'll crash. And, a freshly created git repo
+starts off without a .git/index until changes start to be staged.
+
+However, I can't reproduce the crash with a current version of git-annex,
+and this bug report is about a version nearly a year old now. AFAICS,
+the sync (or the assistant) will make a commit before merging, and that
+commit results in the index file being created, as a side effect.
+Also, I can't see anything that VFAT could have to do with this.
+
+Hmm, I did manage to reproduce the crash using the new --no-commit flag to
+git-annex sync. Will fix on that basis.
+"""]]