1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-05 08:10:38 +03:00

Merge pull request #2761 from dgreen-arm/backport-2.16-fix-rev-parse-in-abi-script

Backport 2.16: Change worktree_rev to HEAD for rev-parse
This commit is contained in:
Gilles Peskine
2019-08-03 13:37:14 +02:00
committed by GitHub

View File

@@ -107,7 +107,7 @@ class AbiChecker(object):
)
self.log.debug(worktree_output.decode("utf-8"))
version.commit = subprocess.check_output(
[self.git_command, "rev-parse", worktree_rev],
[self.git_command, "rev-parse", "HEAD"],
cwd=git_worktree_path,
stderr=subprocess.STDOUT
).decode("ascii").rstrip()