Commit d8a63787 authored by msb@chromium.org's avatar msb@chromium.org

Make gclient cleanup a no-op for git

Patch-contributed-by: 's avatarNasser Grainawi <nasser@codeaurora.org>

Review URL: http://codereview.chromium.org/551023

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@37021 0039d316-1c4b-4281-b951-d872f2087c98
parent eafef3b3
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment