Re: [PATCH 2/5] pathspec: add PATHSPEC_FROMROOT flag

2017-02-24 Thread Stefan Beller
On Fri, Feb 24, 2017 at 3:50 PM, Brandon Williams wrote: > Add the `PATHSPEC_FROMROOT` flag to allow callers to instruct > 'parse_pathspec()' that all provided pathspecs are relative to the root > of the repository. This allows a caller to prevent a path that may be > outside

[PATCH 2/5] pathspec: add PATHSPEC_FROMROOT flag

2017-02-24 Thread Brandon Williams
Add the `PATHSPEC_FROMROOT` flag to allow callers to instruct 'parse_pathspec()' that all provided pathspecs are relative to the root of the repository. This allows a caller to prevent a path that may be outside of the repository from erroring out during the pathspec struct construction.