Thread (66 messages) flat view 66 messages, 4 authors, 2016-06-15

Re: [PATCH v1 40/45] parse_pathspec: preserve prefix length via PATHSPEC_PREFIX_ORIGIN

From: Eric Sunshine <hidden>
Date: 2016-06-15 22:56:24

On Fri, Mar 15, 2013 at 2:06 AM, Nguyễn Thái Ngọc Duy [off-list ref] wrote:
Prefix length is not preserved across commands when --literal-pathspecs
is specified (no magic is allowed, including 'prefix'). That's OK
because we all paths are literal. No magic, no special treatment
s/we all/we know all/
...or...
s/we all/all/
We could also preserve 'prefix' across commands is quote the prefix
part, then dequote on receiving. But it may not be 100% accurate, we
s/is quote/by quoting/
s/dequote/dequoting/
may dequote longer than the original prefix part, for example. That
may be good or not, but it's not the purpose.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help