Re: [PATCH 1/2] grep: Add the option '--open-files-in-pager'
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Mar 28, 2010, 04:09 UTC
- Message-ID
- <20100328040938.GA2017@progeny.tock>
- In-Reply-To
- <alpine.DEB.1.00.1003261149040.7596@pacific.mpi-cbg.de>
Hi,
Johannes Schindelin wrote:
> This adds an option to open the matching files in the pager, and if the > pager happens to be "less" (or "vi") and there is only one grep pattern, > it also jumps to the first match right away.
Sounds interesting.
> diff --git a/builtin-grep.c b/builtin-grep.c > index 5d83d9b..233c772 100644
I couldn’t get this to apply to current master or maint, and searching for blob 5d83d9b to find a more suitable merge base revealed that I don’t actually have that object in my repo. Is this patch available already applied in a public git repo somewhere?
Hopeful, Jonathan