git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Bug: pager.<cmd> doesn't work well with editors

From
Anatoly Borodin <anatoly.borodin@gmail.com>
Date
Sep 18, 2016, 15:28 UTC
Message-ID
<nrmbrl$hsk$1@blaine.gmane.org>
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
Next: Anatoly Borodin
Message 1 of 8 in “Bug: pager.<cmd> doesn't work well with editors”
  1. Anatoly BorodinSep 18, 2016
  2. Anatoly BorodinSep 18, 2016
  3. Junio C HamanoSep 19, 2016
  4. Jeff KingSep 20, 2016
  5. Junio C HamanoSep 21, 2016
  6. Jeff KingSep 22, 2016
  7. Junio C HamanoSep 22, 2016
  8. Jeff KingSep 23, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.