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

Re: [PATCH] Make -p --stat and --stat -p behave like --patch-with-stat

From
THTimo Hirvonen <tihirvon@gmail.com>
Date
Jun 23, 2006, 12:00 UTC
Message-ID
<20060623150049.9d147262.tihirvon@gmail.com>
In-Reply-To
<7vr71hkofg.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 23 quoted lines
> The diff output has four parts, each of which can independently
> be enabled.  When no options are specified on the command line,
> each command has its own default but in general the low-level
> commands default to raw output only, and the higher-level ones
> default to patch output only.
> 
> The four parts are controlled with a bit each, and are output in
> the fixed order (iow the order of the options given from the
> command line does not matter): raw, stat, summary and patch.
> 
> When --name-only or --name-status is specified, that would be
> the only thing that is output (iow the above four parts would
> not be shown, just names optionally with the status are shown).
> 
> The four switches are: --raw, --stat, --summary and --patch.
> Existing flags are supported as obvious shorthands to turn on
> the corresponding bits:
> 
> 	-p, -u			--patch
>         --patch-with-raw	--raw --patch
>         --patch-with-stat	--stat --patch
> 
> Anybody interested in doing a patch?
I'll try. It shouldn't be too hard.
-- 
http://onion.dynserv.net/~timo/
Previous: Junio C Hamano
Message 3 of 3 in “Make -p --stat and --stat -p behave like --patch-with-stat”
  1. Make -p --stat and --stat -p behave like --patch-with-statTimo Hirvonen, Jun 22, 2006
  2. Junio C HamanoJun 22, 2006
  3. Timo HirvonenJun 23, 2006

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.