Index: build/util/lastchange.py |
diff --git a/build/util/lastchange.py b/build/util/lastchange.py |
index 28a266ddaf7ad977d37f4499076b0aa84eca19c5..d1c33e8eb01170face4ed8e8c5814285106e9beb 100755 |
--- a/build/util/lastchange.py |
+++ b/build/util/lastchange.py |
@@ -108,7 +108,7 @@ def FetchGitRevision(directory): |
if not hsh: |
return None |
pos = '' |
- proc = RunGitCommand(directory, ['show', '-s', '--format=%B', 'HEAD']) |
+ proc = RunGitCommand(directory, ['cat-file', 'commit', 'HEAD']) |
if proc: |
output = proc.communicate()[0] |
if proc.returncode == 0 and output: |