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

Re: git-diff-index man page

From
Junio C Hamano <gitster@pobox.com>
Date
May 20, 2013, 22:48 UTC
Message-ID
<7vy5b9s1xo.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20130520062743.GA2919@elie.Belkin>
Jonathan Nieder <jrnieder@gmail.com> writes:
> Thanks and hope that helps,
> Jonathan
Thanks, the result reads much better, I think.
Albert?
Show 31 quoted lines
> diff --git i/Documentation/git-diff-index.txt w/Documentation/git-diff-index.txt
> index 58308e15..a86cf62e 100644
> --- i/Documentation/git-diff-index.txt
> +++ w/Documentation/git-diff-index.txt
> @@ -3,7 +3,7 @@ git-diff-index(1)
>  
>  NAME
>  ----
> -git-diff-index - Compare a tree and the working tree or the index
> +git-diff-index - Compare a tree to the working tree or index
>  
>  
>  SYNOPSIS
> @@ -13,12 +13,11 @@ SYNOPSIS
>  
>  DESCRIPTION
>  -----------
> -
> -Compare the content and mode of the blobs found in a tree object
> -with the corresponding tracked file in the working tree, or with the
> -corresponding paths in the index.  When paths are specified,
> -compares only those named paths.  Otherwise all entries in the index
> -are compared.
> +Compares the content and mode of the blobs found in a tree object
> +with the corresponding tracked files in the working tree, or with the
> +corresponding paths in the index.  When <path> arguments are present,
> +compares only paths matching those patterns.  Otherwise all tracked
> +files are compared.
>  
>  OPTIONS
>  -------
Previous: Jonathan Nieder
Message 7 of 7 in “git-diff-index man page”
  1. Albert NetymkMay 18, 2013
  2. Junio C HamanoMay 19, 2013
  3. Albert NetymkMay 19, 2013
  4. Junio C HamanoMay 20, 2013
  5. Eric SunshineMay 20, 2013
  6. Jonathan NiederMay 20, 2013
  7. Junio C HamanoMay 20, 2013

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.