From c3a372f8f500f6b88d467af42df6332836d8dd31 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 3 Nov 2015 12:20:52 -0400 Subject: response --- ...ent_1_7ab34ddaef82c3037cea96b6552f0da4._comment | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 doc/bugs/any___34__magical__34___cmdline_args_parsing_done_by_annex_leading_to_the_failure_of_parsing_options__63__/comment_1_7ab34ddaef82c3037cea96b6552f0da4._comment (limited to 'doc/bugs') 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`) +"""]] -- cgit v1.2.3