public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Anatoly Borodin <anatoly.borodin@gmail•com>
To: git@vger•kernel.org
Subject: Bug: pager.<cmd> doesn't work well with editors
Date: Sun, 18 Sep 2016 15:28:53 +0000 (UTC)	[thread overview]
Message-ID: <nrmbrl$hsk$1@blaine.gmane.org> (raw)

Hi All!

It can be useful to enable `pager.branch`, `pager.tag`, `pager.config`, etc
for some projects (`git` itself can be a good example, with all its feature
branches and tags).

But it makes commands like `git branch --edit-description`, `git tag -a`,
`git config -e` extremely unhappy. For example, `vim` says

	Vim: Warning: Output is not to a terminal

and then becomes unusable (just as `vim | less` would be).

I think, the pagination should be turned off when the editor is being
called.

-- 
Mit freundlichen Grüßen,
Anatoly Borodin


             reply	other threads:[~2016-09-18 15:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-18 15:28 Anatoly Borodin [this message]
2016-09-18 15:51 ` Bug: pager.<cmd> doesn't work well with editors Anatoly Borodin
2016-09-19 16:03   ` Junio C Hamano
2016-09-20  1:47     ` Jeff King
2016-09-21 16:15       ` Junio C Hamano
2016-09-22  6:47         ` Jeff King
2016-09-22 17:19           ` Junio C Hamano
2016-09-23  3:49             ` Jeff King

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='nrmbrl$hsk$1@blaine.gmane.org' \
    --to=anatoly.borodin@gmail$(echo .)com \
    --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