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

Re: js/no-pager-shorthand [

From
Junio C Hamano <gitster@pobox.com>
Date
May 2, 2018, 01:43 UTC
Message-ID
<xmqq4ljqygrd.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<CAPig+cS9pKSXG-9uZo7dhnz2yAnv9VnnuS_B-DMG2cWmGuKcow@mail.gmail.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
Show 5 quoted lines
> Although paged output is generally nice, I frequently find myself
> typing --no-pager numerous times during the day, so I, for one,
> welcome having a short option (and would be sad to see this patch
> retracted). As with Hannes, I too find -P a reasonably intuitive and
> easy-to-remember short option.

Yeah, we often see in other people's tools that the -X option means opposite of the -x option, and even though "git --paginate" may not have short-and-sweet "git -p" short-hand (or does it?) it would be natural to expect "-p" to mean that, and I do not find it a stretch for "-P" to mean opposite of it by extension.

    ... goes and looks ...

Ah, "-p" does mean "--paginate", it seems. So I am not opposed to resurrecting the patch with s/N/P/, if that is what people want. On the other hand, I am perfectly OK if the patch stays retracted.

Previous: Eric SunshineNext: Ævar Arnfjörð Bjarmason
Message 12 of 16 in “What's cooking in git.git (Apr 2018, #04; Mon, 30)”
  1. Junio C HamanoApr 30, 2018
  2. SZEDER GáborApr 30, 2018
  3. Johannes SchindelinMay 1, 2018
  4. Junio C HamanoMay 2, 2018
  5. Johannes SchindelinMay 2, 2018
  6. Junio C HamanoMay 2, 2018
  7. Junio C HamanoMay 2, 2018
  8. js/no-pager-shorthand [was: What's cooking in git.git (Apr 2018, #04; Mon, 30)]Johannes Sixt, Apr 30, 2018
  9. Johannes SchindelinMay 1, 2018
  10. Johannes SixtMay 1, 2018
  11. Eric SunshineMay 1, 2018
  12. Junio C HamanoMay 2, 2018
  13. Ævar Arnfjörð BjarmasonMay 1, 2018
  14. Brandon WilliamsMay 2, 2018
  15. Elijah NewrenMay 4, 2018
  16. Junio C HamanoMay 7, 2018

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.