git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-diff-index man page
@ 2013-05-18 16:26 Albert Netymk
  2013-05-19  7:46 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Albert Netymk @ 2013-05-18 16:26 UTC (permalink / raw)
  To: git

Hello,

The man page of git-diff-index:
http://git-scm.com/docs/git-diff-index
states that
`git-diff-index - Compares content and mode of blobs between the index
and repository`.

However, in fact this command compares between files on disk and
repository by default. It's explained clearly in here:
http://git-scm.com/docs/gitdiffcore

Maybe the man page could be updated to reflect this in NAME section:
`git-diff-index - Compares content and mode of blobs between files on
disk and repository or between the index and repository`

In DESCRIPTION section:
`Compares the content and mode of the blobs found via a tree object
with the content of the files on disk by default, and could be
compared with index only using cached option. ...`

--
Best Regards

Yours faithfully
Albert Netymk

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-05-20 22:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-18 16:26 git-diff-index man page Albert Netymk
2013-05-19  7:46 ` Junio C Hamano
2013-05-19 20:23   ` Albert Netymk
2013-05-20  5:01     ` Junio C Hamano
2013-05-20  5:40       ` Eric Sunshine
2013-05-20  6:27       ` Jonathan Nieder
2013-05-20 22:48         ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).