summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar yarikoptic <yarikoptic@web>2017-12-13 18:12:14 +0000
committerGravatar admin <admin@branchable.com>2017-12-13 18:12:14 +0000
commit59a23f291226dc0c0ba478f9d65712758a16c5d2 (patch)
tree67a15cad712e7aa4980a7a84baa012d1b11a7083
parentc37e52f894e69846b25d80325967bf1b926a25d3 (diff)
Added a comment
-rw-r--r--doc/todo/prevent_unwanted_init/comment_6_0e4883438d94673bb8e488b60f113f23._comment22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/todo/prevent_unwanted_init/comment_6_0e4883438d94673bb8e488b60f113f23._comment b/doc/todo/prevent_unwanted_init/comment_6_0e4883438d94673bb8e488b60f113f23._comment
new file mode 100644
index 000000000..2c7af276a
--- /dev/null
+++ b/doc/todo/prevent_unwanted_init/comment_6_0e4883438d94673bb8e488b60f113f23._comment
@@ -0,0 +1,22 @@
+[[!comment format=mdwn
+ username="yarikoptic"
+ avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
+ subject="comment 6"
+ date="2017-12-13T18:12:14Z"
+ content="""
+oh, indeed -- forgot about .gitattributes and indeed sad that spaces seems to be nohow allowed. But could be as obscure as requiring _ instead of a space to encode the message:
+
+[[!format sh \"\"\"
+$> builtin cd /tmp/; rm -rf /tmp/testds3; datalad create --no-annex /tmp/testds3; cd /tmp/testds3; echo 123 > 123; echo '* annex.noannex=Because_I_said_so/and\"meant:it' > .gitattributes 123; datalad add -m atrr .gitattributes 123; git check-attr --all 123
+[INFO ] Creating a new git repo at /tmp/testds3
+create(ok): /tmp/testds3 (dataset)
+add(ok): /tmp/testds3/.gitattributes (file)
+add(ok): /tmp/testds3/123 (file)
+save(ok): /tmp/testds3 (dataset)
+action summary:
+ add (ok: 2)
+ save (ok: 1)
+123: annex.noannex: Because_I_said_so/and\"meant:it
+123: 123: set
+\"\"\"]]
+"""]]