Discard stderr output from git apply if the caller wants
authorKarl Hasselström <kha@treskal.com>
Wed, 23 Jul 2008 21:29:09 +0000 (23:29 +0200)
committerKarl Hasselström <kha@treskal.com>
Thu, 24 Jul 2008 22:03:14 +0000 (00:03 +0200)
commit29d9a26459c438f4be500022f993b0496d8cbbd8
tree3c7a0c1e2dd46bd7438507c5795280136a5aabf9
parent41cbb70556477d5e3f883016b7d617e415bdc956
Discard stderr output from git apply if the caller wants

It prints error messages when it fails, and sometimes we don't need to
see them since we don't care exactly _why_ it failed. (The only
current user does want to see the errors, but future patches will
introduce callers that don't.)

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/edit.py
stgit/lib/git.py