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

Unified Diff: git_map.py

Issue 212183003: Explicitly include root() in the git-map call to git-log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_map.py
diff --git a/git_map.py b/git_map.py
index 8281222bd18999427dae8e63a8c4db7504579f51..5f2e9b4156bc8b15f8e7c9f5a0c73b96edbc9c48 100755
--- a/git_map.py
+++ b/git_map.py
@@ -19,7 +19,7 @@ import sys
import subprocess2
from git_common import current_branch, branches, tags, config_list, GIT_EXE
-from git_common import branch_config_map
+from git_common import branch_config_map, root
from third_party import colorama
@@ -41,8 +41,8 @@ def main():
map_extra = config_list('depot_tools.map_extra')
fmt = '%C(red bold)%h%x09%Creset%C(green)%d%Creset %C(yellow)%ad%Creset ~ %s'
log_proc = subprocess2.Popen(
- [GIT_EXE, 'log', '--graph', '--full-history', '--branches', '--tags',
- '--remotes', '--color=always', '--date=short', ('--pretty=format:' + fmt)
+ [GIT_EXE, 'log', '--graph', '--branches', '--tags', root(),
+ '--color=always', '--date=short', ('--pretty=format:' + fmt)
] + map_extra + sys.argv[1:],
stdout=subprocess2.PIPE,
shell=False)
« 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