From 36a332ba15abae5b88877bf597e8f1c1d3ee8ad5 Mon Sep 17 00:00:00 2001 From: Phyks Date: Sun, 18 Jan 2015 23:54:43 +0000 Subject: [PATCH] --- ...sistant_not_working_with_nested_git_repos.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/bugs/git-annex_assistant_not_working_with_nested_git_repos.mdwn diff --git a/doc/bugs/git-annex_assistant_not_working_with_nested_git_repos.mdwn b/doc/bugs/git-annex_assistant_not_working_with_nested_git_repos.mdwn new file mode 100644 index 0000000000..f28b3514ee --- /dev/null +++ b/doc/bugs/git-annex_assistant_not_working_with_nested_git_repos.mdwn @@ -0,0 +1,15 @@ +### Please describe the problem. +When using git-annex in indirect mode (or even in direct mode I think, although this is not to be very reliable in this context), git repos inside a git-annex are ignored. This is due to the fact that git is ignoring nested .git folders, and then, we can safely work with git-annex and nested git repos without conflicts. + +Using a tool such as my-repos, one can then sync its entire home directory, containing folders and git repos, syncing the normal folders thanks to git-annex, and storing the git repos metadata for easy cloning using my-repos. + +However, when using the git-annex assistant (or the daemon to have automatic background sync), this is no longer the case. + +After discussion on IRC, we thought this could be due to the fact that files are copied sequentially and that the .git folder is not yet present when it starts copying. However, disabling the daemon, copying the files and reenabling it then leads to the same behaviour. + +Thanks! + + +### What version of git-annex are you using? On what operating system? + +git-annex-bin on AUR.