From 55bd55fa5570202cf7bef3078494262a72932e4c Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Wed, 13 Dec 2017 18:12:05 +0000 Subject: [PATCH 1/3] Added a comment --- ..._99af015fca81035af490919632fdcb5f._comment | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/todo/prevent_unwanted_init/comment_5_99af015fca81035af490919632fdcb5f._comment diff --git a/doc/todo/prevent_unwanted_init/comment_5_99af015fca81035af490919632fdcb5f._comment b/doc/todo/prevent_unwanted_init/comment_5_99af015fca81035af490919632fdcb5f._comment new file mode 100644 index 0000000000..0d88351cb4 --- /dev/null +++ b/doc/todo/prevent_unwanted_init/comment_5_99af015fca81035af490919632fdcb5f._comment @@ -0,0 +1,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 +\"\"\"]] +"""]] From 3643fd3fec9b3908eaa77faf7ca874df497eae43 Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Wed, 13 Dec 2017 18:12:14 +0000 Subject: [PATCH 2/3] Added a comment --- ..._0e4883438d94673bb8e488b60f113f23._comment | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/todo/prevent_unwanted_init/comment_6_0e4883438d94673bb8e488b60f113f23._comment 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 0000000000..2c7af276af --- /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 +\"\"\"]] +"""]] From 74dedb3e431ba5c5c75cdfe926d26fa0207d1aa6 Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Wed, 13 Dec 2017 18:15:10 +0000 Subject: [PATCH 3/3] removed --- ..._0e4883438d94673bb8e488b60f113f23._comment | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 doc/todo/prevent_unwanted_init/comment_6_0e4883438d94673bb8e488b60f113f23._comment diff --git a/doc/todo/prevent_unwanted_init/comment_6_0e4883438d94673bb8e488b60f113f23._comment b/doc/todo/prevent_unwanted_init/comment_6_0e4883438d94673bb8e488b60f113f23._comment deleted file mode 100644 index 2c7af276af..0000000000 --- a/doc/todo/prevent_unwanted_init/comment_6_0e4883438d94673bb8e488b60f113f23._comment +++ /dev/null @@ -1,22 +0,0 @@ -[[!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 -\"\"\"]] -"""]]