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

Re: [PATCH] Documentation: point to "History Simplification" from -- <path>

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 29, 2011, 23:50 UTC
Message-ID
<7vbov74w25.fsf@alter.siamese.dyndns.org>
In-Reply-To
<307fe311ad448ecd3d0643040008954a217d7ddb.1314659821.git.trast@student.ethz.ch>
Thomas Rast <trast@student.ethz.ch> writes:
Show 7 quoted lines
> 'git log -- <path>' does not "show commits that affect the specified
> paths" in a literal sense unless --full-history is given (for example,
> a file that only existed on a side branch will turn up no commits at
> all!).
>
> Point the user to the "History Simplification" section to avoid
> surprises.

Hmm, or perhaps replace it with a brief explanation instead of redirecting the readers to a separate section without telling them anything here?

    Show only commits that are enough to explain how the files that match
    the specified paths came to be.
(this is my attempt to paraphrase $gmane/90659)
>  [\--] <path>...::
> +	Show only commits that affect any of the specified paths.
> +	See "History Simplification" below for a precise definition of
> +	the filtering applied.
Previous: Thomas RastNext: Thomas Rast
Message 2 of 4 in “Documentation: point to "History Simplification" from -- <path>”
  1. Documentation: point to "History Simplification" from -- <path>Thomas Rast, Aug 29, 2011
  2. Junio C HamanoAug 29, 2011
  3. Documentation: clarify effects of -- <path> argumentsThomas Rast, Aug 30, 2011
  4. Junio C HamanoAug 30, 2011

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.