From b6f14dcf18f76961be4128abb9af092e205dbeb8 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Wed, 28 Sep 2011 16:28:28 +0200 Subject: [PATCH] fix: git log works better then git show --- lib/git_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.39.5