summaryrefslogtreecommitdiff
path: root/doc/bugs/any___34__magical__34___cmdline_args_parsing_done_by_annex_leading_to_the_failure_of_parsing_options__63__/comment_1_7ab34ddaef82c3037cea96b6552f0da4._comment
blob: b2343be700fe4e7c6ce616758d08e4d9aeaab352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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`)
"""]]