Re: [PATCH] Git wrapper: add --redirect-stderr option
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 30, 2007, 03:45 UTC
- Message-ID
- <Pine.LNX.4.64.0705300444020.4011@racer.site>
- In-Reply-To
- <20070530033830.GO7044@spearce.org>
Hi,
On Tue, 29 May 2007, Shawn O. Pearce wrote:
Show 12 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > > > With this option, stderr is redirected to stdout. The short option is '-2'. > > > > Alternatively, you can say '--redirect-stderr=<filename>' to redirect > > stderr to a file. > > Yes, that works nicely. ;-) > > Now here's my other problem: How does git-gui know the underlying > git will accept --redirect-stderr? Or that it supports any other > recent features we've developed?
I thought that git-gui is now really closely coupled with core-git.
Show 7 quoted lines
> Sure I can check the version, but until I know what version of Git
> its shipping in I cannot put the check into git-gui.
>
> I was thinking about adding a "git-supported-features" plumbing
> command that prints back feature code strings, much as our
> network protocol supplies back the few feature codes it supports
> ("multi-ack", "sideband", etc.).Problem is: it would be more interesting to have this program in _older_ versions... ;-)
Ciao, Dscho