summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-02-07 12:56:13 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-02-07 12:56:13 -0400
commit6771d73d9df3b610d723c8e7ed197a8995bf41d4 (patch)
treecf12bbb9fb14fa51ed310c5b62a90d651e47f92a /doc
parentadb4360505772172db1882ee3f0e7f685aa8ef4b (diff)
comment
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/special_remote_protocol__58___adding_local_state_variables___40__not_under_git__41__/comment_1_3d162dce2af8d84c5582cf63624e9310._comment19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/bugs/special_remote_protocol__58___adding_local_state_variables___40__not_under_git__41__/comment_1_3d162dce2af8d84c5582cf63624e9310._comment b/doc/bugs/special_remote_protocol__58___adding_local_state_variables___40__not_under_git__41__/comment_1_3d162dce2af8d84c5582cf63624e9310._comment
new file mode 100644
index 000000000..6fdd1e6ad
--- /dev/null
+++ b/doc/bugs/special_remote_protocol__58___adding_local_state_variables___40__not_under_git__41__/comment_1_3d162dce2af8d84c5582cf63624e9310._comment
@@ -0,0 +1,19 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2017-02-07T16:49:40Z"
+ content="""
+A reasonable use case indeed.
+
+My initial feeling is, this can be handled well by storing the data
+yourself in the filesysystem. You only need to pick a place for your
+special remote to store the data. Presumably somewhere under `.git`
+or under `.git/annex`. (The protocol's GETGITDIR can be used to
+get the path to `.git`.)
+
+And you need to pick a filename that won't be used by something else.
+
+You can use the protocol's GETUUID to get the uuid of special remote,
+and using that in the path to the data pretty well guarantees nothing
+else is going to use that filename.
+"""]]