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

Unified Diff: recipe_modules/git/example.expected/basic_hash.json

Issue 1693993002: Make git.checkout return the commit hash. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 10 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
Index: recipe_modules/git/example.expected/basic_hash.json
diff --git a/recipe_modules/git/example.expected/basic_hash.json b/recipe_modules/git/example.expected/basic_hash.json
index c2f801b442a3b017b3e9265072072c7b443c518e..fe9468f5093aae10bb4b558ebbe65c8f4ae0c88d 100644
--- a/recipe_modules/git/example.expected/basic_hash.json
+++ b/recipe_modules/git/example.expected/basic_hash.json
@@ -36,6 +36,19 @@
{
"cmd": [
"git",
+ "rev-parse",
+ "HEAD"
+ ],
+ "cwd": "[SLAVE_BUILD]/src",
+ "name": "read revision",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
"clean",
"-f",
"-d",
« no previous file with comments | « recipe_modules/git/example.expected/basic_file_name.json ('k') | recipe_modules/git/example.expected/basic_ref.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698