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

Re: [PATCH] git-diff.txt: add section "output format" describing the diff formats

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 1, 2007, 06:33 UTC
Message-ID
<7vir4mcw4o.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20071031135916.5625.qmail@134c5e95d8ec4d.315fe32.mid.smarden.org>
Gerrit Pape <pape@smarden.org> writes:
Show 9 quoted lines
> diff --git a/Documentation/diff-format.txt b/Documentation/diff-format.txt
> index 0015032..a580f18 100644
> --- a/Documentation/diff-format.txt
> +++ b/Documentation/diff-format.txt
> @@ -1,5 +1,5 @@
> -The output format from "git-diff-index", "git-diff-tree" and
> -"git-diff-files" are very similar.
> +The output format from "git-diff-index", "git-diff-tree",
> +"git-diff-files" and "git diff --raw" are very similar.
I like this attention to the detail of mentioning "--raw".
Show 10 quoted lines
> @@ -62,9 +62,9 @@ respectively.
>  diff format for merges
>  ----------------------
>  
> -"git-diff-tree" and "git-diff-files" can take '-c' or '--cc' option
> -to generate diff output also for merge commits.  The output differs
> -from the format described above in the following way:
> +"git-diff-tree", "git-diff-files" and "git-diff" can take '-c' or
> +'--cc' option to generate diff output also for merge commits.  The
> +output differs from the format described above in the following way:
... and this part should do so, too. 
Previous: Gerrit Pape
Message 2 of 2 in “git-diff.txt: add section "output format" describing the diff formats”
  1. git-diff.txt: add section "output format" describing the diff formatsGerrit Pape, Oct 31, 2007
  2. Junio C HamanoNov 1, 2007

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.