Re: [PATCH] show git tag output in pager
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Sep 27, 2011, 14:19 UTC
- Message-ID
- <vpqehz2cbk4.fsf@bauges.imag.fr>
- In-Reply-To
- <20110927134235.GA27478@zelva.suse.cz>
The commit message should explain why this is needed, and in particular why you prefer this to setting pager.tag in your ~/.gitconfig.
Michal Vyskocil <mvyskocil@suse.cz> writes:
Show 8 quoted lines
> --- 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.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/