public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox•com>
To: Matthieu Moy <Matthieu.Moy@imag•fr>
Cc: git@vger•kernel.org
Subject: Re: [RFC] Clean way to disable pager
Date: Sun, 19 Aug 2007 11:52:06 -0700	[thread overview]
Message-ID: <7vodh3bbmx.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <vpq1wdz307k.fsf@bauges.imag.fr> (Matthieu Moy's message of "Sun, 19 Aug 2007 19:26:07 +0200")

Matthieu Moy <Matthieu.Moy@imag•fr> writes:

> I think that deserves an less-hacky, and documented way. I'd suggest a
> --no-pager, or --dont-paginate, that would do the opposite of -p as a
> global option for git.

I think that is a good thing to do.

> From 2148c2564ca6480feaec9a9d091259032257918d Mon Sep 17 00:00:00 2001
> From: Matthieu Moy <Matthieu.Moy@imag•fr>
> Date: Sun, 19 Aug 2007 19:24:36 +0200
> Subject: [PATCH] Add and document a global --no-pager option for git.
>
> To keep the change small, this is done by setting GIT_PAGER to "cat". I'd
> prefer not using global/environment variables for that, but it would
> require a complete refactoring of options handling in git.

And I do not necessarily think this GIT_PAGER thing is a bad way
to do so either.  It may end up spawning other commands (perhaps
via alias) and the use of environment is probably the way with
the least impact and complexity.

Please resend an applyable patch with a sign-off (and acked-by
as you have seen).

  parent reply	other threads:[~2007-08-19 18:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-19 17:26 [RFC] Clean way to disable pager Matthieu Moy
2007-08-19 17:41 ` Matthieu Moy
2007-08-19 17:52 ` Linus Torvalds
2007-08-19 18:24 ` Brian Gernhardt
2007-08-19 18:52 ` Junio C Hamano [this message]
2007-08-19 19:44   ` Matthieu Moy
2007-08-19 21:59     ` Adam Roben
2007-08-19 22:37       ` David Kastrup
2007-08-20  8:15         ` Matthieu Moy
2007-08-21  2:11           ` Jakub Narebski
2007-08-21  8:37             ` [PATCH] Replace git --paginate by git --pager[=PAGER_CMD] Matthieu Moy
2007-08-21  8:42               ` Johannes Schindelin
2007-08-21  8:51                 ` Matthieu Moy
2007-08-21  9:19                   ` David Kastrup
2007-08-19 21:28 ` [RFC] Clean way to disable pager Alex Riesen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vodh3bbmx.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox$(echo .)com \
    --cc=Matthieu.Moy@imag$(echo .)fr \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox