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

Unified Diff: git_number.py

Issue 184113002: Add git-map and git-short-map to depot_tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@new_branch
Patch Set: Make it work on windows Created 6 years, 9 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 | « git_nav_downstream.py ('k') | testing_support/git_test_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_number.py
diff --git a/git_number.py b/git_number.py
index 04f676c655d8db6c75c36a6205e1ef152365e8e3..6c11cee23433332d2ddd748570efa6d2bec8badc 100755
--- a/git_number.py
+++ b/git_number.py
@@ -153,7 +153,7 @@ def finalize(targets):
assert updater.returncode == 0
tree_id = git.run('write-tree', env=env)
- commit_cmd = ['commit-tree', '-m', msg, '-p'] + git.hashes(REF)
+ commit_cmd = ['commit-tree', '-m', msg, '-p'] + git.hash_multi(REF)
for t in targets:
commit_cmd.extend(['-p', binascii.hexlify(t)])
commit_cmd.append(tree_id)
« no previous file with comments | « git_nav_downstream.py ('k') | testing_support/git_test_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698