From 5ca842aa7d8a4a1de36ccbc6f335103b2571e522 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 19 Jan 2021 12:11:38 -0400 Subject: [PATCH] comment --- ..._c59077a9d6500df0cd88ac5a18085085._comment | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/forum/Large_Windows_annexes_with___42__nix_remotes/comment_1_c59077a9d6500df0cd88ac5a18085085._comment diff --git a/doc/forum/Large_Windows_annexes_with___42__nix_remotes/comment_1_c59077a9d6500df0cd88ac5a18085085._comment b/doc/forum/Large_Windows_annexes_with___42__nix_remotes/comment_1_c59077a9d6500df0cd88ac5a18085085._comment new file mode 100644 index 0000000000..02a30fba5e --- /dev/null +++ b/doc/forum/Large_Windows_annexes_with___42__nix_remotes/comment_1_c59077a9d6500df0cd88ac5a18085085._comment @@ -0,0 +1,28 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2021-01-19T15:58:37Z" + content=""" +Direct mode was only supported by old versions of git-annex. It did work on +windows. The replacement (adusted unlocked branches + annex.thin) is better +in every way except one: On windows (and some filesystems like FAT), it is +not able to avoid storing 2 copies of files, because git-annex isn't able +to hard link files there. If there was a reasonable way to do that on +windows, that could be a big improvement, but I have not dug into whether +windows has anything similar enough to hard link for git-annex to use it. + +git-annex scales to hundreds of thousands of files. + +If I had two directories like your V# and V#-related, I might make them +each into their own repository, and set them each as a git remote of the +other. That would let git-annex know that identical files have two copies. +(Or, the parent directory could be made into a git-annex repository, which +would let git-annex deduplicate identical files, but since that needs +symlink support, it won't happen on windows.) + +You can certianly use GIT_DIR with git-annex. + +Generally the best thing to do with storage on the other side of a network +connection is to run git-annex on it locally, or use it as some kind of +special remote. +"""]] -- 2.30.2