Re: [PATCH v1 40/45] parse_pathspec: preserve prefix length via PATHSPEC_PREFIX_ORIGIN
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Mar 15, 2013, 22:00 UTC
- Message-ID
- <CAPig+cSbb7hz2PMyOegqGRofQ8nUsVL7JboWobVviyy0spy=9w@mail.gmail.com>
- 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 <pclouds@gmail.com> 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.