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

Re: [RFC PATCH] Using no- for options instead of duplication

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 13, 2018, 13:09 UTC
Message-ID
<xmqqh8glunt3.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<877ehh2scg.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 5 quoted lines
> This doesn't spew out a histogram, but you can use the various "git
> grep/blame" one-liners (https://www.google.nl/search?q=git+grep+blame)
> plus shell one-liner to get something useful:
>
>     git grep -e '^--no-' -e '^--\[no-' -n | perl -F':' -anpe '$_=`git blame -L$F[1],+1 $F[0]`' | perl -pe 's/^.* (\d{4})-.*\) /$1 /' | sort -n
Yikes.  I cannot easily unsee this X-<.
Previous: Ævar Arnfjörð Bjarmason
Message 4 of 4 in “Using no- for options instead of duplication”
  1. Using no- for options instead of duplicationFredi Fowler, Nov 12, 2018
  2. Junio C HamanoNov 13, 2018
  3. Ævar Arnfjörð BjarmasonNov 13, 2018
  4. Junio C HamanoNov 13, 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.