Re: [PATCH 1/5] grep: illustrate bug when recursing with relative pathspec

2017-02-27 Thread Brandon Williams
On 02/26, Duy Nguyen wrote: > On Sat, Feb 25, 2017 at 6:50 AM, Brandon Williams wrote: > > When using the --recurse-submodules flag with a relative pathspec which > > includes "..", an error is produced inside the child process spawned for > > a submodule. When creating the

Re: [PATCH 1/5] grep: illustrate bug when recursing with relative pathspec

2017-02-26 Thread Duy Nguyen
On Sat, Feb 25, 2017 at 6:50 AM, Brandon Williams wrote: > When using the --recurse-submodules flag with a relative pathspec which > includes "..", an error is produced inside the child process spawned for > a submodule. When creating the pathspec struct in the child, the ".."

[PATCH 1/5] grep: illustrate bug when recursing with relative pathspec

2017-02-24 Thread Brandon Williams
When using the --recurse-submodules flag with a relative pathspec which includes "..", an error is produced inside the child process spawned for a submodule. When creating the pathspec struct in the child, the ".." is interpreted to mean "go up a directory" which causes an error stating that the