Index: gclient_scm.py |
diff --git a/gclient_scm.py b/gclient_scm.py |
index 8c7bcba01f0ea6ced4842e9f4b939961a8b722b7..220ec226363a43d3e2849357790a4600798240c6 100644 |
--- a/gclient_scm.py |
+++ b/gclient_scm.py |
@@ -652,8 +652,8 @@ class GitWrapper(SCMWrapper): |
# git clone doesn't seem to insert a newline properly before printing |
# to stdout |
print('') |
- |
- clone_cmd = ['clone', '--progress'] |
+ template_path = os.path.join(os.path.dirname(__file__), 'git-templates') |
M-A Ruel
2013/04/16 20:52:37
Make this a global ALL_CAPS varaible at the top of
szager1
2013/04/16 21:01:25
Done.
|
+ clone_cmd = ['clone', '--progress', '--template=%s' % template_path] |
if revision.startswith('refs/heads/'): |
clone_cmd.extend(['-b', revision.replace('refs/heads/', '')]) |
detach_head = False |