From 6f60d29c2c8906f70208c4179c0f295e1688cbc4 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Tue, 16 Oct 2012 04:24:00 +0000 Subject: [PATCH 1/6] Added a comment --- ...omment_5_53c33484bded57abc60f0449331c7b05._comment | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/forum/Can__39__t_init_git_annex/comment_5_53c33484bded57abc60f0449331c7b05._comment diff --git a/doc/forum/Can__39__t_init_git_annex/comment_5_53c33484bded57abc60f0449331c7b05._comment b/doc/forum/Can__39__t_init_git_annex/comment_5_53c33484bded57abc60f0449331c7b05._comment new file mode 100644 index 0000000000..5bbbb73608 --- /dev/null +++ b/doc/forum/Can__39__t_init_git_annex/comment_5_53c33484bded57abc60f0449331c7b05._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="4.152.246.8" + subject="comment 5" + date="2012-10-16T04:23:59Z" + content=""" +`git annex sync` only syncs the git repository, not file contents, and the special remote has no git repo, only file contents. `git annex copy` will avoid transferring things that are already there, so it's the way to go. + +If you want automatic syncing of file contents and lots of other magic including automatic commit of new files, you could try the [[assistant]]. + +"""]] From 24a92ec20166744f406857e4615a976d18411a27 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM" Date: Tue, 16 Oct 2012 04:38:42 +0000 Subject: [PATCH 2/6] Added a comment --- ...ent_6_9e0ff44f6e62581bfc83f9f1da3e0100._comment | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/forum/Can__39__t_init_git_annex/comment_6_9e0ff44f6e62581bfc83f9f1da3e0100._comment diff --git a/doc/forum/Can__39__t_init_git_annex/comment_6_9e0ff44f6e62581bfc83f9f1da3e0100._comment b/doc/forum/Can__39__t_init_git_annex/comment_6_9e0ff44f6e62581bfc83f9f1da3e0100._comment new file mode 100644 index 0000000000..36c0bb5d59 --- /dev/null +++ b/doc/forum/Can__39__t_init_git_annex/comment_6_9e0ff44f6e62581bfc83f9f1da3e0100._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM" + nickname="Meng" + subject="comment 6" + date="2012-10-16T04:38:40Z" + content=""" +OK; The reason i ask about `git annex sync` is because I had previously copied the large files onto `smb://` before setting up the `annex` and don't want to unnecessarily transfer large data over Internet again. But now if i do `git annex copy --to smb`, and check what's added/changed in `smb` end, i found + + $ cd /Volumes/subproject + $ ls + 091 383 bigdir1 bigfile1 ... + +The files with numbers in names such as`091`, `383` are being added, the `bigfile1` and `bigdir1` are the ones previously copied there. What are those `091`, `383` etc. +"""]] From c584e18201589264ae3ed37e536a495c8c447d06 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Tue, 16 Oct 2012 04:52:12 +0000 Subject: [PATCH 3/6] Added a comment --- ...comment_7_7f96b5ef05e2faf4a3dbe8bfc39b810e._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Can__39__t_init_git_annex/comment_7_7f96b5ef05e2faf4a3dbe8bfc39b810e._comment diff --git a/doc/forum/Can__39__t_init_git_annex/comment_7_7f96b5ef05e2faf4a3dbe8bfc39b810e._comment b/doc/forum/Can__39__t_init_git_annex/comment_7_7f96b5ef05e2faf4a3dbe8bfc39b810e._comment new file mode 100644 index 0000000000..9c29567f68 --- /dev/null +++ b/doc/forum/Can__39__t_init_git_annex/comment_7_7f96b5ef05e2faf4a3dbe8bfc39b810e._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="4.152.246.8" + subject="comment 7" + date="2012-10-16T04:52:12Z" + content=""" +That's where it stores files in the directory special remote. You can move the similar contents of /Volumes/subproject/.git/annex/objects/ to the same place as those and then run `git annex fsck --from smb --fast` and it'll learn about those files you already transferred. + +You probably also want to delete /Volumes/subproject/.git afterwards, and any git working tree that was checked out there before; the directory special remote does not use the git repository that you had there before. +"""]] From e48bdc20d55fa4313bcd20ae7080e279189b08f4 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Tue, 16 Oct 2012 04:52:18 +0000 Subject: [PATCH 4/6] Added a comment --- ...comment_8_9e3329faceedae14d98e075cadb39fcf._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Can__39__t_init_git_annex/comment_8_9e3329faceedae14d98e075cadb39fcf._comment diff --git a/doc/forum/Can__39__t_init_git_annex/comment_8_9e3329faceedae14d98e075cadb39fcf._comment b/doc/forum/Can__39__t_init_git_annex/comment_8_9e3329faceedae14d98e075cadb39fcf._comment new file mode 100644 index 0000000000..dd419e7305 --- /dev/null +++ b/doc/forum/Can__39__t_init_git_annex/comment_8_9e3329faceedae14d98e075cadb39fcf._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="4.152.246.8" + subject="comment 8" + date="2012-10-16T04:52:18Z" + content=""" +That's where it stores files in the directory special remote. You can move the similar contents of /Volumes/subproject/.git/annex/objects/ to the same place as those and then run `git annex fsck --from smb --fast` and it'll learn about those files you already transferred. + +You probably also want to delete /Volumes/subproject/.git afterwards, and any git working tree that was checked out there before; the directory special remote does not use the git repository that you had there before. +"""]] From cf7fb6568f48aeade1579674e1587a269d091825 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Tue, 16 Oct 2012 04:53:20 +0000 Subject: [PATCH 5/6] removed --- ...comment_8_9e3329faceedae14d98e075cadb39fcf._comment | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 doc/forum/Can__39__t_init_git_annex/comment_8_9e3329faceedae14d98e075cadb39fcf._comment diff --git a/doc/forum/Can__39__t_init_git_annex/comment_8_9e3329faceedae14d98e075cadb39fcf._comment b/doc/forum/Can__39__t_init_git_annex/comment_8_9e3329faceedae14d98e075cadb39fcf._comment deleted file mode 100644 index dd419e7305..0000000000 --- a/doc/forum/Can__39__t_init_git_annex/comment_8_9e3329faceedae14d98e075cadb39fcf._comment +++ /dev/null @@ -1,10 +0,0 @@ -[[!comment format=mdwn - username="http://joeyh.name/" - ip="4.152.246.8" - subject="comment 8" - date="2012-10-16T04:52:18Z" - content=""" -That's where it stores files in the directory special remote. You can move the similar contents of /Volumes/subproject/.git/annex/objects/ to the same place as those and then run `git annex fsck --from smb --fast` and it'll learn about those files you already transferred. - -You probably also want to delete /Volumes/subproject/.git afterwards, and any git working tree that was checked out there before; the directory special remote does not use the git repository that you had there before. -"""]] From 96483c2a3e83aecb80be9cdf4e04d9c12f0ff531 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM" Date: Tue, 16 Oct 2012 05:22:54 +0000 Subject: [PATCH 6/6] Added a comment --- .../comment_8_65ab8463716f4ddd7721a5bcfcd18fa0._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/Can__39__t_init_git_annex/comment_8_65ab8463716f4ddd7721a5bcfcd18fa0._comment diff --git a/doc/forum/Can__39__t_init_git_annex/comment_8_65ab8463716f4ddd7721a5bcfcd18fa0._comment b/doc/forum/Can__39__t_init_git_annex/comment_8_65ab8463716f4ddd7721a5bcfcd18fa0._comment new file mode 100644 index 0000000000..8f37408f77 --- /dev/null +++ b/doc/forum/Can__39__t_init_git_annex/comment_8_65ab8463716f4ddd7721a5bcfcd18fa0._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM" + nickname="Meng" + subject="comment 8" + date="2012-10-16T05:22:54Z" + content=""" +Oh, I see. But what I need on the remote partition `/Volumes/subproject` connected via `smb://` is the actual `bigdir1` and `bigfile`, not the encoded objects. Maybe I should use some other types of special remote? +"""]]