summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index 382650fb..8c56af42 100644
--- a/project.py
+++ b/project.py
@@ -2341,7 +2341,7 @@ class Project(object):
2341 else: 2341 else:
2342 branch = self.revisionExpr 2342 branch = self.revisionExpr
2343 if (not self.manifest.IsMirror and is_sha1 and depth 2343 if (not self.manifest.IsMirror and is_sha1 and depth
2344 and git_require((1, 8, 3))): 2344 and git_require((1, 8, 3))):
2345 # Shallow checkout of a specific commit, fetch from that commit and not 2345 # Shallow checkout of a specific commit, fetch from that commit and not
2346 # the heads only as the commit might be deeper in the history. 2346 # the heads only as the commit might be deeper in the history.
2347 spec.append(branch) 2347 spec.append(branch)