Revert "Use core.quotePath=false when git is listing files"
This reverts commit 9219d356885a93d9cbcaf4a2c7fc3f6e29caad49.
Reason for revert: unfortunately this says "core,quotePath" and since it includes recipe changes, we need something that the roller can munch on :(
Original change's description:
> Use core.quotePath=false when git is listing files
>
> This prevents git from putting quotes around some file names
> (those that have astral-plane characters) and not around others.
>
> R=​maruel
>
> Bug: 792302
> Recipe-Nontrivial-Roll: build
> Recipe-Nontrivial-Roll: build_limited_scripts_slave
> Change-Id: I3b6a6b36c4720116de811b40177b59aa25c263db
> Reviewed-on: https://chromium-review.googlesource.com/815454
> Commit-Queue: Aaron Gable <agable@chromium.org>
> Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
TBR=maruel@chromium.org,agable@chromium.org
Change-Id: I226388f19024403240a1443eb2b878b9293220e1
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 792302
Reviewed-on: https://chromium-review.googlesource.com/821671
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
diff --git a/scm.py b/scm.py
index 232fcb9..8708c19 100644
--- a/scm.py
+++ b/scm.py
@@ -131,8 +131,8 @@
upstream_branch = GIT.GetUpstreamBranch(cwd)
if upstream_branch is None:
raise gclient_utils.Error('Cannot determine upstream branch')
- command = ['-c', 'core.quotePath=false', 'diff',
- '--name-status', '--no-renames', '-r', '%s...' % upstream_branch]
+ command = ['diff', '--name-status', '--no-renames',
+ '-r', '%s...' % upstream_branch]
if not files:
pass
elif isinstance(files, basestring):