]> git.scottworley.com Git - pinch/commitdiff
Spell "log" in "git log" correctly
authorScott Worley <scottworley@scottworley.com>
Thu, 11 Jun 2020 20:24:49 +0000 (13:24 -0700)
committerScott Worley <scottworley@scottworley.com>
Thu, 11 Jun 2020 20:24:49 +0000 (13:24 -0700)
This only ever worked because I have a git alias "lo".  ðŸ˜…

Hooray for proper test environment isolation.

pinch.py

index 003ee70ee535d1c2b33071ceb07c096eb9830cfd..24e132aad745caa820c05d34461b8523fc83ec32 100644 (file)
--- 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',