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

Incorrect man page for git-diff

From
Manlio Perillo <manlio.perillo@gmail.com>
Date
Dec 18, 2012, 17:40 UTC
Message-ID
<50D0AA78.5090603@gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi.
Documentation seems to suggest this is supported, but it is not true:
  $ git diff HEAD:git.c HEAD~100:git.c -- git.c
  usage: git diff [<options>] [<commit> [<commit>]] [--] [<path>...]
unless I'm missing something.
Manlio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlDQqncACgkQscQJ24LbaUT9XwCfV40P7lGulSWw+dzVo17EhcDQ YFoAnRb46025qYsKWp9mg6ZTRyuuaG3x =0gO1 -----END PGP SIGNATURE-----

Next: Junio C Hamano
Message 1 of 4 in “Incorrect man page for git-diff”
  1. Manlio PerilloDec 18, 2012
  2. Junio C HamanoDec 18, 2012
  3. Manlio PerilloDec 18, 2012
  4. Junio C HamanoDec 18, 2012

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.