From: Karl Hasselström Date: Tue, 08 Jul 2008 04:39:02 GMT Subject: Re: [StGit PATCH] Discard stderr output from git apply Message-ID: <20080708043902.GD2247@diana.vm.bytemark.co.uk> In-Reply-To: On 2008-07-07 21:49:31 +0100, Catalin Marinas wrote: > 2008/7/4 Karl Hasselström : > > > It prints error messages when it fails, and we don't need to see > > them since we don't care exactly _why_ it failed. > > Are you sure we don't need this? I found it useful when running > "import" to see why a patch failed. Aww, you're right. Apply isn't just called from the simple merge fast path, it's also used to apply patches. Who would've guessed? ;-) I'll add a parameter to shut it up or not depending on the caller's preferences. -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle