chiark / gitweb /
Log subprocess activity to a file
authorKarl Hasselström <kha@treskal.com>
Wed, 23 Jul 2008 21:29:10 +0000 (23:29 +0200)
committerKarl Hasselström <kha@treskal.com>
Thu, 24 Jul 2008 22:03:14 +0000 (00:03 +0200)
commitcf8be1c862204655aa1ae2520fec32ef9b05d740
tree8137e7de9054ab50c5424ba156e2cc19322f2dc9
parent5200ae3c962ebebdd7f0cab00d94eaab2c3d4f86
Log subprocess activity to a file

If the user sets $STGIT_SUBPROCESS_LOG to a log mode followed by a
colon and a file name, append the log to that file instead of writing
it to stdout.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/out.py
stgit/run.py