diff options
Diffstat (limited to 'project.py')
| -rw-r--r-- | project.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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) |
