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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git_mock.py

Issue 2744143002: Remove unused methods in Git and related classes. (Closed)
Patch Set: Rebase Created 3 years, 9 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git_mock.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git_mock.py
index 386df35a2ccce7309539a2f7934233cd535da261..56048f875fd2d9514cde2864b79b5272070c40ae 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git_mock.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git_mock.py
@@ -21,12 +21,6 @@ class MockGit(object):
self._executive = executive or MockExecutive()
self._local_commits = []
- def add_all(self, pathspec=None):
- if not pathspec:
- pathspec = self.checkout_root
- for path in self._filesystem.glob(pathspec):
- self.add_list(self._filesystem.files_under(path))
-
def add(self, destination_path, return_exit_code=False):
self.add_list([destination_path], return_exit_code)

Powered by Google App Engine
This is Rietveld 408576698