From b3cec908593e08ab3a3c984134e3409360f83acf Mon Sep 17 00:00:00 2001 From: "nsylvain@google.com" Date: Wed, 1 Jun 2011 17:10:46 +0000 Subject: [PATCH] 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 --- gclient_scm.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gclient_scm.py b/gclient_scm.py index bb2b7f6be..449db236d 100644 --- a/gclient_scm.py +++ b/gclient_scm.py @@ -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')