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

Re: [PATCH] git show <tree>: show mode and hash, and handle -r

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Oct 29, 2008, 07:20 UTC
Message-ID
<49080EA4.9080404@viscovery.net>
In-Reply-To
<alpine.DEB.1.00.0810290207330.22125@pacific.mpi-cbg.de.mpi-cbg.de>
Johannes Schindelin schrieb:
Show 12 quoted lines
> Now, git show <tree> shows some more information, and with the -r option,
> it recurses into subdirectories.
> 
> Requested by Scott Chacon.
> 
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
> 
> 	The only quirk is the command line parsing for -r: we cannot use 
> 	DIFF_OPT_TST(&rev.diffopt, RECURSIVE), because that is switched 
> 	on not only by cmd_log_init(), but implicitly by 
> 	diff_setup_done(), because FORMAT_PATCH is selected by git-show.
This comment should for sure go into the commit message.
-- Hannes
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 2 of 7 in “git show <tree>: show mode and hash, and handle -r”
  1. git show <tree>: show mode and hash, and handle -rJohannes Schindelin, Oct 29, 2008
  2. Johannes SixtOct 29, 2008
  3. Johannes SchindelinOct 29, 2008
  4. Junio C HamanoOct 30, 2008
  5. Johannes SchindelinOct 31, 2008
  6. Junio C HamanoOct 31, 2008
  7. Johannes SchindelinOct 31, 2008

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.