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

Unified Diff: git_cl.py

Issue 545333002: Make git cl format work on my Windows box. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 3 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_cl.py
diff --git a/git_cl.py b/git_cl.py
index b8263b5503c00a9f5371c133f8f13eea2dc28339..b1839f8b6189614e2d768537e13e51e935dc0f0d 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -2753,7 +2753,7 @@ def CMDformat(parser, args):
sys.stdout.write(stdout)
else:
env = os.environ.copy()
- env['PATH'] = os.path.dirname(clang_format_tool)
+ env['PATH'] = str(os.path.dirname(clang_format_tool))
# diff_output is a patch to send to clang-format-diff.py
try:
script = clang_format.FindClangFormatScriptInChromiumTree(
« 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