| Index: presubmit_support.py
|
| diff --git a/presubmit_support.py b/presubmit_support.py
|
| index 6be415dce140a70e9e26cb334b91d9a6d4160a49..38d29902752bc176f7175cd3fbc27cd190f3156f 100755
|
| --- a/presubmit_support.py
|
| +++ b/presubmit_support.py
|
| @@ -558,7 +558,8 @@ class SvnAffectedFile(AffectedFile):
|
| return self._is_text_file
|
|
|
| def GenerateScmDiff(self):
|
| - return scm.SVN.GenerateDiff(self.AbsoluteLocalPath())
|
| + return scm.SVN.GenerateDiff([self.AbsoluteLocalPath()])
|
| +
|
|
|
| class GitAffectedFile(AffectedFile):
|
| """Representation of a file in a change out of a git checkout."""
|
|
|