Re: "git grep" and "working tree" vs "working directory"

2018-05-25 Thread Robert P. J. Day
On Fri, 25 May 2018, Junio C Hamano wrote: > Stefan Beller writes: > > > There are 2 dimensions to it: > > * (where you are) > > if you run git-grep from a sub directory of the repository, then the > > "sub-working-tree" > > will be searched. > > s/the repository/the top

Re: "git grep" and "working tree" vs "working directory"

2018-05-24 Thread Junio C Hamano
Stefan Beller writes: > There are 2 dimensions to it: > * (where you are) > if you run git-grep from a sub directory of the repository, then the > "sub-working-tree" > will be searched. s/the repository/the top level directory of the working tree/, perhaps? >> also,

Re: "git grep" and "working tree" vs "working directory"

2018-05-24 Thread Stefan Beller
On Wed, May 23, 2018 at 11:50 AM, Robert P. J. Day wrote: > > more puzzling terminology, this time in the man page for "git grep". > the SYNOPSIS shows, at the very end, the clearly optional > "[...]", > > git grep ... >... snip ... >[--] [...]

"git grep" and "working tree" vs "working directory"

2018-05-23 Thread Robert P. J. Day
more puzzling terminology, this time in the man page for "git grep". the SYNOPSIS shows, at the very end, the clearly optional "[...]", git grep ... ... snip ... [--] [...] but nowhere in the man page is there an explanation as to the default value used if there is