disable shallow fetch from a specific commit
diff --git a/project.py b/project.py
index 12be924..2228234 100644
--- a/project.py
+++ b/project.py
@@ -1935,7 +1935,9 @@
if not self.manifest.IsMirror:
branch = self.revisionExpr
- if is_sha1 and depth and git_require((1, 8, 3)):
+ # gerrit 2.11 does not support this
+ enable = False
+ if is_sha1 and depth and git_require((1, 8, 3)) and enable:
# Shallow checkout of a specific commit, fetch from that commit and not
# the heads only as the commit might be deeper in the history.
spec.append(branch)