Commit b3cec908 authored by nsylvain@google.com's avatar nsylvain@google.com

Make sure paths that look like http://git_server/repo.git@SHA get checked out

correctly.  The current behavior was to call git clone with --no-checkout, which
did not create a working copy, and made the checkout unusable by the users.
Review URL: http://codereview.chromium.org/7104007

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@87491 0039d316-1c4b-4281-b951-d872f2087c98
parent efc80931
......@@ -488,7 +488,6 @@ class GitWrapper(SCMWrapper):
clone_cmd.extend(['-b', revision.replace('refs/heads/', '')])
detach_head = False
else:
clone_cmd.append('--no-checkout')
detach_head = True
if options.verbose:
clone_cmd.append('--verbose')
......
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