Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2643)

Unified Diff: build/util/lastchange.py

Issue 499133003: Further shorten the lastchange string. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Typo in comment Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/util/lastchange.py
diff --git a/build/util/lastchange.py b/build/util/lastchange.py
index 93c695845998eb47c268b467d41f4363299c555a..e938c3db70dcab21275520bc9b9e94c71a4ae8c7 100755
--- a/build/util/lastchange.py
+++ b/build/util/lastchange.py
@@ -109,7 +109,9 @@ def FetchGitRevision(directory):
hsh = output
if not hsh:
return None
- return VersionInfo('git', hsh)
+ # TODO(agable): Figure out a way to use the full hash instead of just a
+ # 12-character short hash. See crbug.com/406783.
+ return VersionInfo('git', hsh[:12])
def FetchGitSVNURLAndRevision(directory, svn_url_regex):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698