summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-30 12:10:39 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-30 12:10:39 -0400
commitd24d75cc90fdf633017ecbbca53b0e6fc9a3a85f (patch)
tree7d2d805e53906329609da56cc3165a18c1d3adb1
parent2b936be6f9a4b0340c5f32267429f2505230daaa (diff)
responses
-rw-r--r--doc/tips/publishing_your_files_to_the_public/comment_6_06cba66922cc382c112fdac52b98bb4d._comment9
-rw-r--r--doc/tips/publishing_your_files_to_the_public/comment_7_caf9ad71e3805347df98f4d6df352cec._comment19
2 files changed, 28 insertions, 0 deletions
diff --git a/doc/tips/publishing_your_files_to_the_public/comment_6_06cba66922cc382c112fdac52b98bb4d._comment b/doc/tips/publishing_your_files_to_the_public/comment_6_06cba66922cc382c112fdac52b98bb4d._comment
new file mode 100644
index 000000000..118865da0
--- /dev/null
+++ b/doc/tips/publishing_your_files_to_the_public/comment_6_06cba66922cc382c112fdac52b98bb4d._comment
@@ -0,0 +1,9 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 6"""
+ date="2017-10-30T16:04:24Z"
+ content="""
+You should be able to run `git annex export` in the bare git repository on
+your server. It just needs the branch you want to export to be known to
+git, and the annexed file contents to be available there.
+"""]]
diff --git a/doc/tips/publishing_your_files_to_the_public/comment_7_caf9ad71e3805347df98f4d6df352cec._comment b/doc/tips/publishing_your_files_to_the_public/comment_7_caf9ad71e3805347df98f4d6df352cec._comment
new file mode 100644
index 000000000..37149d4eb
--- /dev/null
+++ b/doc/tips/publishing_your_files_to_the_public/comment_7_caf9ad71e3805347df98f4d6df352cec._comment
@@ -0,0 +1,19 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""Re: Publishing subdir is publishing files but not subdir?"""
+ date="2017-10-30T16:06:36Z"
+ content="""
+The reason exporting a subdir puts the files at the root of the folder
+is that it's exporting a git tree, and files in the tree of a subdir
+are relative to that subdir.
+
+It's certianly possible to make git construct a tree object that
+contains a subdirectory containing the files you want to export, and
+then exporting that tree object would replicate that tree structure,
+including the subdir. One way is to check out a branch, delete the files
+you don't want to export and once things are arranged as you like,
+commit to that branch and then export it.
+
+(Or you could just make the webdav special remote's url include the
+subdir where you wanrt it to export stuff.)
+"""]]