Re: [PATCH] grep: --full-tree
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 27, 2009, 10:56 UTC
- Message-ID
- <alpine.DEB.1.00.0911271155310.4521@intel-tinevez-2-302>
- In-Reply-To
- <vpq8wdsqmm4.fsf@bauges.imag.fr>
Hi,
On Fri, 27 Nov 2009, Matthieu Moy wrote:
Show 13 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > Guess what. I have a similar problem, only it is that my "git status" > > output is _always_ too long, so I always have to page it. > > > > Once upon a time, Junio applied a patch that implied -p with status. > > I was overjoyed. He reverted that patch later. Yes, exactly. > > In this particular example, a config variable was added (pager.status = > true). But one big difference is that while pager.status = true can be > /annoying/ for some users, it can never really harm (since the pager > will automatically disable itself in the cases where you'd really don't > want it).
It changes behavior. And worse: it changes behavior _in a different manner_ in different repositories. I have too many of them to remember what I set where.
So it is harmful in a very real sense.
Show 6 quoted lines
> > So I end up doing "git config --global ps '-p status'" on every new > > account (I usually even forget to curse!), and I really cannot see why you > > do not do the equivalent "git config fullgrep grep --full-tree" in your > > repositories (or even the global thing). > > (I guess you meant alias.fullgrep)
You guessed right, and likewise alias.ps.
Ciao, Dscho