From 8910c029833521ccf85b4cc1d4ada57c25640465 Mon Sep 17 00:00:00 2001 From: "dav02.git@4d920fe040aa5df86fcd9f4dd57d3fcf85ee5641" Date: Thu, 18 May 2017 11:41:53 +0000 Subject: [PATCH 1/5] --- ...eat_directory_with_multiple_files_as_a_single_item.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn diff --git a/doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn b/doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn new file mode 100644 index 0000000000..f91cfb3089 --- /dev/null +++ b/doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn @@ -0,0 +1,7 @@ +In my analyses I often have multiple generated (>10k) small files in a single directory. + + +I would like to store this in git annex, in order to version them and probably even synchronize. The problem is that if a huge number of files is stored inside the repository, the repository itself becomes huge and slow. There are some ways to improve the performance ([[tips/Repositories_with_large_number_of_files]], [[forum/Handling_a_large_number_of_files]], [[forum/__34__git_annex_sync__34___synced_after_8_hours]]), but it doesn't solve the issue completely. + + +I was wondering if it is possible to force git annex to treat a single directory as one item in history? Probably with abandoning the checksum verification. From 4c634e3c0b6e3374d071f26585ad6bdb89805372 Mon Sep 17 00:00:00 2001 From: "dav02.git@4d920fe040aa5df86fcd9f4dd57d3fcf85ee5641" Date: Thu, 18 May 2017 11:44:54 +0000 Subject: [PATCH 2/5] update links --- .../treat_directory_with_multiple_files_as_a_single_item.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn b/doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn index f91cfb3089..7fb96316a5 100644 --- a/doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn +++ b/doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn @@ -1,7 +1,7 @@ -In my analyses I often have multiple generated (>10k) small files in a single directory. +In my analyses I often have multiple (>10k) generated small files in a single directory. -I would like to store this in git annex, in order to version them and probably even synchronize. The problem is that if a huge number of files is stored inside the repository, the repository itself becomes huge and slow. There are some ways to improve the performance ([[tips/Repositories_with_large_number_of_files]], [[forum/Handling_a_large_number_of_files]], [[forum/__34__git_annex_sync__34___synced_after_8_hours]]), but it doesn't solve the issue completely. +I would like to store this in git annex, in order to version them and probably even synchronize. The problem is that if a huge number of files is stored inside the repository, the repository itself becomes huge and slow. There are some ways to improve the performance ([[1|tips/Repositories_with_large_number_of_files]], [[2|forum/Handling_a_large_number_of_files]], [[3|forum/__34__git_annex_sync__34___synced_after_8_hours]]), but it doesn't solve the issue completely. I was wondering if it is possible to force git annex to treat a single directory as one item in history? Probably with abandoning the checksum verification. From 0bbe08960b5067943e3f034f7eb966f53ca88857 Mon Sep 17 00:00:00 2001 From: mario Date: Thu, 18 May 2017 13:21:27 +0000 Subject: [PATCH 3/5] --- doc/forum/git-annex_sync_here.mdwn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/forum/git-annex_sync_here.mdwn diff --git a/doc/forum/git-annex_sync_here.mdwn b/doc/forum/git-annex_sync_here.mdwn new file mode 100644 index 0000000000..9aa91ed2f4 --- /dev/null +++ b/doc/forum/git-annex_sync_here.mdwn @@ -0,0 +1,19 @@ +Hello, + +git-annex does a lot of convenient stuff, also locally. With git-annex sync [remote-name] the synchronization can be restricted to a single remote. + +However, I think being able to restrict sync to no remote at all, only doing the local stuff, would be helpful. + +The natural syntax for me would be git-annex sync here. But it says: + + $ git-annex sync here + commit ok + git-annex: there is no available git remote named "here" + +I think a workaround would be to do: + + $ git-annex sync --no-push --no-pull + +Is that correct? + +Still, I think "git-annex sync here" would be a convenient shortcut. From 9fdf33d0c805f8296ade8d4808ad51971cebe60b Mon Sep 17 00:00:00 2001 From: "dav02.git@4d920fe040aa5df86fcd9f4dd57d3fcf85ee5641" Date: Thu, 18 May 2017 13:57:09 +0000 Subject: [PATCH 4/5] item in history -> single item --- .../treat_directory_with_multiple_files_as_a_single_item.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn b/doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn index 7fb96316a5..4adbedb6cc 100644 --- a/doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn +++ b/doc/forum/treat_directory_with_multiple_files_as_a_single_item.mdwn @@ -4,4 +4,4 @@ In my analyses I often have multiple (>10k) generated small files in a single d I would like to store this in git annex, in order to version them and probably even synchronize. The problem is that if a huge number of files is stored inside the repository, the repository itself becomes huge and slow. There are some ways to improve the performance ([[1|tips/Repositories_with_large_number_of_files]], [[2|forum/Handling_a_large_number_of_files]], [[3|forum/__34__git_annex_sync__34___synced_after_8_hours]]), but it doesn't solve the issue completely. -I was wondering if it is possible to force git annex to treat a single directory as one item in history? Probably with abandoning the checksum verification. +I was wondering if it is possible to force git annex to treat a single directory with multiple files as a single item? Probably with abandoning the checksum verification. From dd9fef3087bbd7223831a57225b6c184c4492d18 Mon Sep 17 00:00:00 2001 From: mario Date: Thu, 18 May 2017 16:36:54 +0000 Subject: [PATCH 5/5] --- doc/forum/git-annex_help_import_outdated__63__.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/forum/git-annex_help_import_outdated__63__.mdwn diff --git a/doc/forum/git-annex_help_import_outdated__63__.mdwn b/doc/forum/git-annex_help_import_outdated__63__.mdwn new file mode 100644 index 0000000000..6367fe1489 --- /dev/null +++ b/doc/forum/git-annex_help_import_outdated__63__.mdwn @@ -0,0 +1,13 @@ +Hi, + +I just saw that my installed version of git-annex is too old for: + + git-annex import --reinject-duplicates [...] + +Thus, I downloaded the precompiled binary: git-annex-standalone-amd64.tar.gz 2017-05-10 16:19 54M + +First of all, it works fine with this version. However, the "--reinject-duplicates" option is not shown, when calling: + + ./git-annex help import ## in ~/git-annex.linux/ + +So, is the help page just outdated, or does git-annex help gets confused because I still have an older version of git-annex installed in the system?