From e2b8d0757b1ce447ffd3fba5691326a3365f02f5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 2 Dec 2015 14:19:31 -0400 Subject: comment --- ...omment_1_25572571debe2c91447b0ed952f45cb2._comment | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/forum/Does_git_annex_support_my_weird_workflow__63_____40__A_single__44___effectively___95__read_only__95___source__41__/comment_1_25572571debe2c91447b0ed952f45cb2._comment diff --git a/doc/forum/Does_git_annex_support_my_weird_workflow__63_____40__A_single__44___effectively___95__read_only__95___source__41__/comment_1_25572571debe2c91447b0ed952f45cb2._comment b/doc/forum/Does_git_annex_support_my_weird_workflow__63_____40__A_single__44___effectively___95__read_only__95___source__41__/comment_1_25572571debe2c91447b0ed952f45cb2._comment new file mode 100644 index 000000000..eb568646e --- /dev/null +++ b/doc/forum/Does_git_annex_support_my_weird_workflow__63_____40__A_single__44___effectively___95__read_only__95___source__41__/comment_1_25572571debe2c91447b0ed952f45cb2._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2015-12-02T18:14:50Z" + content=""" +The two problems are: Read-only directory, and wanting a clone that doesn't +have the same directory structure. + +For the read-only directory, you may be able to use a direct mode +repository. You might need to set `GIT_DIR` in the environment to make +the .git directory be placed somewhere outside the read-only directory. + +As to wanting different directory structure in your clone, it's an added +complication I'd recommend avoiding. Not that it's impossible, you can move +files around in the git repository and that could be automated via +git-filter-branch or the like. But git-annex offers a simpler solution, +which is to use the same directory structure and only get the contents of +files in the subdirectories you want. +"""]] -- cgit v1.2.3