aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/prevent_unwanted_init/comment_5_99af015fca81035af490919632fdcb5f._comment
blob: 0d88351cb4776b1c83600ad36684d700a8c5a0d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[[!comment format=mdwn
 username="yarikoptic"
 avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
 subject="comment 5"
 date="2017-12-13T18:12:05Z"
 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
\"\"\"]]
"""]]