From: Mathias Klette Date: Wed, 28 Sep 2011 14:28:28 +0000 (+0200) Subject: fix: git log works better then git show X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=b6f14dcf18f76961be4128abb9af092e205dbeb8;p=profitbricks%2Fjenkins-build-scripts.git fix: git log works better then git show --- diff --git a/lib/git_helper.py b/lib/git_helper.py index 21d65ac..fac1e3e 100644 --- a/lib/git_helper.py +++ b/lib/git_helper.py @@ -254,7 +254,7 @@ def git_get_treeish(refname): """ cmd = [ GIT, - 'show', '--oneline', + 'log', '--oneline', '-n', '1', '%s' % refname ] cmdobj = subprocess.Popen(