summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-08-11 13:21:47 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-08-11 13:21:47 -0400
commit2b29398664ebd4d995ddd642e609dfdb7ef5a100 (patch)
tree5a14603c853fd469e23523108afb9982e3193449
parent7f03b97ea3631f266c188f49475685ab9d507783 (diff)
response
-rw-r--r--doc/forum/checkout_view_to_directory_outside_of_annex/comment_1_a31a501bdc28eabc60588502f7219e50._comment20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/forum/checkout_view_to_directory_outside_of_annex/comment_1_a31a501bdc28eabc60588502f7219e50._comment b/doc/forum/checkout_view_to_directory_outside_of_annex/comment_1_a31a501bdc28eabc60588502f7219e50._comment
new file mode 100644
index 000000000..a0d1f4dab
--- /dev/null
+++ b/doc/forum/checkout_view_to_directory_outside_of_annex/comment_1_a31a501bdc28eabc60588502f7219e50._comment
@@ -0,0 +1,20 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2015-08-11T16:57:45Z"
+ content="""
+Well, you can certianly use --work-tree with git-annex. As a global git
+option, it has to be passed after the "git" and before the "annex". However,
+since the view is constructed by making symlinks to the annexed content,
+the result will be a directory full of symlinks, rather than the contents
+of the files. Also, it'll still update the repo to think it has this view
+checked out, with confusing results.
+
+rsync seems to be a perfectly good way to do what you want, if you want
+to have copies of the files.
+
+Or, you might consider making a shared clone of the git repo wherever you
+want that tree of files, and checking out the desired view in the clone.
+In a shared clone with a recent version of git-annex, running `git annex
+get` will quickly hard-link the files from the main repo (when possible).
+"""]]