diff options
author | 2015-11-03 12:20:52 -0400 | |
---|---|---|
committer | 2015-11-03 12:20:52 -0400 | |
commit | c3a372f8f500f6b88d467af42df6332836d8dd31 (patch) | |
tree | 80530708dfb1afdeb13c0c8e5eff71fefe32db9c /doc/bugs/any___34__magical__34___cmdline_args_parsing_done_by_annex_leading_to_the_failure_of_parsing_options__63__/comment_1_7ab34ddaef82c3037cea96b6552f0da4._comment | |
parent | 61952f508a1816c5abdef359200972a93633f0d6 (diff) |
response
Diffstat (limited to 'doc/bugs/any___34__magical__34___cmdline_args_parsing_done_by_annex_leading_to_the_failure_of_parsing_options__63__/comment_1_7ab34ddaef82c3037cea96b6552f0da4._comment')
-rw-r--r-- | doc/bugs/any___34__magical__34___cmdline_args_parsing_done_by_annex_leading_to_the_failure_of_parsing_options__63__/comment_1_7ab34ddaef82c3037cea96b6552f0da4._comment | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/bugs/any___34__magical__34___cmdline_args_parsing_done_by_annex_leading_to_the_failure_of_parsing_options__63__/comment_1_7ab34ddaef82c3037cea96b6552f0da4._comment b/doc/bugs/any___34__magical__34___cmdline_args_parsing_done_by_annex_leading_to_the_failure_of_parsing_options__63__/comment_1_7ab34ddaef82c3037cea96b6552f0da4._comment new file mode 100644 index 000000000..b2343be70 --- /dev/null +++ b/doc/bugs/any___34__magical__34___cmdline_args_parsing_done_by_annex_leading_to_the_failure_of_parsing_options__63__/comment_1_7ab34ddaef82c3037cea96b6552f0da4._comment @@ -0,0 +1,26 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2015-11-03T16:14:03Z" + content=""" +You have successfully passed the literal value `'exclude=*.txt'` to +git-annex as the annex.largefiles setting. + +Now, git-annex has to parse that value to understand what files you intend +it to treat as large. + +Since its preferred content expression parser for the value has no +concept of quoting characters, it fails as shown. + +There's no magic here, just you providing a value to git-annex that it does +not understand. + +Were you trying to accomplish anything in particular with `'exclude=*.txt'` +that is different from the behavior with `exclude=*.txt`? + +(Eg, perhaps you're really trying to exclude a filename with a space in it, +like `*.brain scan` and that seems to call for some form of quoting. Adding +quoting support into git-annex's preferred content expressions would +complicate the parser a lot though. So, in that case, I'd suggest the +workaround of using `*.brain?scan`) +"""]] |