| Index: third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_mock.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_mock.py
|
| index 707f3de8c8ddb87d5bba1de82f8a8d105fa8c011..2f887cebe2f9fac1beec79007ef9f32c0dce1dc1 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_mock.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_mock.py
|
| @@ -13,8 +13,9 @@ class MockGit(object):
|
|
|
| executable_name = 'mock-git'
|
|
|
| - def __init__(self, filesystem=None, executive=None):
|
| + def __init__(self, cwd=None, filesystem=None, executive=None):
|
| self.checkout_root = '/mock-checkout'
|
| + self.cwd = cwd or self.checkout_root
|
| self.added_paths = set()
|
| self._filesystem = filesystem or MockFileSystem()
|
| self._executive = executive or MockExecutive()
|
|
|