From bed3218277c11d0e6092683f0a2d00225f84d8ae Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Thu, 11 Jun 2020 13:24:49 -0700 Subject: [PATCH 1/1] Spell "log" in "git log" correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This only ever worked because I have a git alias "lo". 😅 Hooray for proper test environment isolation. --- pinch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinch.py b/pinch.py index 003ee70..24e132a 100644 --- a/pinch.py +++ b/pinch.py @@ -478,7 +478,7 @@ def git_revision_name(v: Verification, channel: Channel) -> str: process = subprocess.run(['git', '-C', git_cachedir(channel.git_repo), - 'lo', + 'log', '-n1', '--format=%ct-%h', '--abbrev=11', -- 2.44.1