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

Unified Diff: build/util/lastchange.py

Issue 732423002: Update from chromium https://crrev.com/304586 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « build/toolchain_vs2013.hash ('k') | build/vs_toolchain.py » ('j') | 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 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:
« no previous file with comments | « build/toolchain_vs2013.hash ('k') | build/vs_toolchain.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698