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

Re: [PATCH] revisions.txt: correct a mistake in dotted range notations section

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 26, 2023, 16:46 UTC
Message-ID
<xmqqo7natwvh.fsf@gitster.g>
In-Reply-To
<pull.1485.git.git.1682495081131.gitgitgadget@gmail.com>

"Pooyan Khanjankhani via GitGitGadget" <gitgitgadget@gmail.com> writes:

Show 12 quoted lines
>      $ git log A..B C..D
>
>  does *not* specify two revision ranges for most commands.  Instead
>  it will name a single connected set of commits, i.e. those that are
> -reachable from either B or D but are reachable from neither A or C.
> +reachable from either B or D but are not reachable from neither A or C.
>  In a linear history like this:
>  
>      ---A---B---o---o---C---D
>
> because A and B are reachable from C, the revision range specified
> by these two dotted ranges is a single commit D.
Isn't that an unwanted double negative?

The first hit I got about "neither double negation" on Google search was:

https://www.grammar-monster.com/lessons/either_or_neither_nor_double_negative.htm
but the source of this might sound more authoritative:
https://dictionary.cambridge.org/grammar/british-grammar/neither-neither-nor-and-not-either_2
Previous: Pooyan Khanjankhani via GitGitGadgetNext: Chris Torek
Message 2 of 4 in “revisions.txt: correct a mistake in dotted range notations section”
  1. revisions.txt: correct a mistake in dotted range notations sectionPooyan Khanjankhani via GitGitGadget, Apr 26, 2023
  2. Junio C HamanoApr 26, 2023
  3. Chris TorekApr 26, 2023
  4. Felipe ContrerasMay 2, 2023

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.