mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-06-26 20:17:52 +00:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
ab15e42fa4 |
@ -2252,7 +2252,10 @@ class Project(object):
|
||||
spec.append('tag')
|
||||
spec.append(tag_name)
|
||||
|
||||
branch = self.revisionExpr
|
||||
if self.manifest.IsMirror and not current_branch_only:
|
||||
branch = None
|
||||
else:
|
||||
branch = self.revisionExpr
|
||||
if (not self.manifest.IsMirror and is_sha1 and depth
|
||||
and git_require((1, 8, 3))):
|
||||
# Shallow checkout of a specific commit, fetch from that commit and not
|
||||
|
Reference in New Issue
Block a user