summaryrefslogtreecommitdiff
path: root/macro.py
diff options
context:
space:
mode:
Diffstat (limited to 'macro.py')
-rwxr-xr-xmacro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/macro.py b/macro.py
index f2f8533..1803c19 100755
--- a/macro.py
+++ b/macro.py
@@ -106,7 +106,7 @@ class Macro:
self.__dict__[key] = body
# determine the macro's serial number
if computeSerialNumber: # compute the number from git
- logMessages = subprocess.check_output(["git", "log", "--oneline", "--", filePath], bufsize=1)
+ logMessages = subprocess.check_output(["git", "log", "--oneline", "054e8ad8c766afa7059d8cd4a81bbfa99133ef5e..HEAD", "--", filePath], bufsize=1)
logLines = logMessages.rstrip(b'\n').split(b"\n")
self.serial = len(logLines)
modified = subprocess.call(["git", "diff", "--quiet", "--exit-code", "HEAD", "--", filePath])