From: Timo Hirvonen Date: Fri, 23 Jun 2006 12:00:49 GMT Subject: Re: [PATCH] Make -p --stat and --stat -p behave like --patch-with-stat Message-ID: <20060623150049.9d147262.tihirvon@gmail.com> In-Reply-To: <7vr71hkofg.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > 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/