Re: [PATCH] Make -p --stat and --stat -p behave like --patch-with-stat
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/