From: Eric Sunshine Date: Fri, 15 Mar 2013 22:00:56 GMT Subject: Re: [PATCH v1 40/45] parse_pathspec: preserve prefix length via PATHSPEC_PREFIX_ORIGIN Message-ID: In-Reply-To: <1363327620-29017-41-git-send-email-pclouds@gmail.com> On Fri, Mar 15, 2013 at 2:06 AM, Nguyễn Thái Ngọc Duy 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.