Re: [PATCH] show git tag output in pager
- From
- Michal Vyskocil <mvyskocil@suse.cz>
- Date
- Sep 29, 2011, 09:37 UTC
- Message-ID
- <20110929093749.GB27152@zelva.suse.cz>
- In-Reply-To
- <vpqehz2cbk4.fsf@bauges.imag.fr>
On Tue, Sep 27, 2011 at 04:19:39PM +0200, Matthieu Moy wrote:
> The commit message should explain why this is needed, and in particular > why you prefer this to setting pager.tag in your ~/.gitconfig.
Opps! I read a documentation, but I did not realize this works for all commands and not only for them calling setup_pager(). Then sorry, no change is needed.
Show 14 quoted lines
>
> Michal Vyskocil <mvyskocil@suse.cz> writes:
>
> > --- a/builtin/tag.c
> > +++ b/builtin/tag.c
> > @@ -147,6 +147,8 @@ static int list_tags(const char **patterns, int lines,
> > struct commit_list *with_commit)
> > {
> > struct tag_filter filter;
> > +
> > + setup_pager();
>
> Git indents with tabs, not spaces, and does not leave trailing
> whitespaces.OK, thanks for the feedbac. I will try to be more carefull in the future.
Regards Michal Vyskocil
> > -- > Matthieu Moy > http://www-verimag.imag.fr/~moy/