From: Johannes Berg Date: Thu, 4 Apr 2013 15:55:35 +0000 (+0200) Subject: git lib: suppress messages from shortlog X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=240d1e64504fd2b8511a9f4edd3d9331ae1141ca;p=openwrt%2Fstaging%2Fblogic.git git lib: suppress messages from shortlog Signed-off-by: Johannes Berg --- diff --git a/lib/git.py b/lib/git.py index 1a20ea0f14cc..d61d90a8cbc1 100644 --- a/lib/git.py +++ b/lib/git.py @@ -109,7 +109,7 @@ def remote_update(gitdir): def shortlog(from_commit, to_commit, tree=None): process = subprocess.Popen(['git', 'shortlog', from_commit + '..' + to_commit], - stdout=subprocess.PIPE, + stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True, universal_newlines=True, cwd=tree) stdout = process.communicate()[0]