diff options
Diffstat (limited to 'build/util/lastchange.py')
-rwxr-xr-x | build/util/lastchange.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/util/lastchange.py b/build/util/lastchange.py index d1c33e8..1a7f519 100755 --- a/build/util/lastchange.py +++ b/build/util/lastchange.py @@ -115,6 +115,7 @@ def FetchGitRevision(directory): for line in reversed(output.splitlines()): if line.startswith('Cr-Commit-Position:'): pos = line.rsplit()[-1].strip() + break if not pos: return VersionInfo('git', hsh) return VersionInfo('git', '%s-%s' % (hsh, pos)) |