From: Matthieu Moy Date: Tue, 10 Sep 2013 08:16:00 GMT Subject: Re: [PATCH v3 1/5] pull: rename pull.rename to pull.mode Message-ID: In-Reply-To: Felipe Contreras writes: > On Mon, Sep 9, 2013 at 9:21 PM, Jeff King wrote: >> On Mon, Sep 09, 2013 at 05:49:36PM -0500, Felipe Contreras wrote: >> >>> > These deprecation warning messages should be written to stderr, and >>> > should probably be prefixed with "WARNING: ". >>> >>> Is there any deprecation warning that works this way? >> >> The ones in C code typically use warning(), which will prefix with >> "warning:" and write to stderr. They do not use all-caps, though. >> >> Try "git log --grep=deprecate -Swarning" for some examples. > > I'm asking about the ones in shell, because this is a shell script. No user cares whether "git pull" is written in shell. shell Vs C is an implementation detail, stdout Vs stderr is user-visible. -- Matthieu Moy http://www-verimag.imag.fr/~moy/