summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-04-05 15:19:03 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-04-05 15:19:03 -0400
commitd5f58b86fa3f30b52bc06a2f6ba3b8dc25170bae (patch)
treeb18f37e7825f7d5f57e8f4b8c3f22294ec56100a
parentf656f6874222a7cf6ceb46e828f0aab5f1c9bc49 (diff)
response
-rw-r--r--doc/forum/Split_annex_into_multiple/comment_1_e934b404f738cbd67df928fd6769e3ff._comment17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/forum/Split_annex_into_multiple/comment_1_e934b404f738cbd67df928fd6769e3ff._comment b/doc/forum/Split_annex_into_multiple/comment_1_e934b404f738cbd67df928fd6769e3ff._comment
new file mode 100644
index 000000000..84451b86a
--- /dev/null
+++ b/doc/forum/Split_annex_into_multiple/comment_1_e934b404f738cbd67df928fd6769e3ff._comment
@@ -0,0 +1,17 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2017-04-05T19:09:03Z"
+ content="""
+Recent git-annex's support `git annex reinject --known`
+
+You can do this -- but do note that it leaves Global in an unusable state,
+so only do it if you don't plan to use that repository again:
+
+ chmod -R +w $Global/.git/annex/objects/
+ git annex reinject --known $(find $Global/.git/annex/objects/ -type f)
+
+BTW, splitting the files amoung several git branches is also a useful
+thing to do in this situation. Splitting amoung branches avoids most of
+git's problems with a repository having too many files in it.
+"""]]