Chromium Code Reviews| Index: scm.py |
| diff --git a/scm.py b/scm.py |
| index 367a1cd29940d506a5ba51c11afae2c85ef73fd3..51c38d8609e80fbfa2dc5359de2ad1ae9f0e287e 100644 |
| --- a/scm.py |
| +++ b/scm.py |
| @@ -112,7 +112,8 @@ class GIT(object): |
| upstream_branch = GIT.GetUpstreamBranch(cwd) |
| if upstream_branch is None: |
| raise gclient_utils.Error('Cannot determine upstream branch') |
| - command = ['diff', '--name-status', '-r', '%s...' % upstream_branch] |
| + upstream_branch += '...' |
|
M-A Ruel
2012/10/28 20:53:02
A quick "git gs CaptureStatus" tells me this will
Isaac (away)
2012/10/28 21:16:42
I wanted to make this change to avoid an extra mer
|
| + command = ['diff', '--name-status', '-r', upstream_branch] |
| if not files: |
| pass |
| elif isinstance(files, basestring): |