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

Unified Diff: gclient_scm.py

Issue 551023: Make gclient cleanup do a 'correcter' thing for git (Closed)
Patch Set: Make gclient cleanup a no-op for git Created 10 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_scm.py
diff --git a/gclient_scm.py b/gclient_scm.py
index 8380b345163e5b29ac7a7d12e91a168048c1399d..b7426f48b2fd3e8bbdddc772f31f4fbf53bc46ca 100644
--- a/gclient_scm.py
+++ b/gclient_scm.py
@@ -114,11 +114,11 @@ class GitWrapper(SCMWrapper, scm.GIT):
"""Wrapper for Git"""
def cleanup(self, options, args, file_list):
- """Cleanup working copy."""
+ """'Cleanup' the repo.
+
+ There's no real git equivalent for the svn cleanup command, do a no-op.
+ """
__pychecker__ = 'unusednames=options,args,file_list'
- self._Run(['prune'], redirect_stdout=False)
- self._Run(['fsck'], redirect_stdout=False)
- self._Run(['gc'], redirect_stdout=False)
def diff(self, options, args, file_list):
__pychecker__ = 'unusednames=options,args,file_list'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698