summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xproject.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/project.py b/project.py
index 94aa816b..f9eb7a28 100755
--- a/project.py
+++ b/project.py
@@ -1980,8 +1980,9 @@ class Project(object):
1980 1980
1981 if is_sha1 or tag_name is not None: 1981 if is_sha1 or tag_name is not None:
1982 if self._CheckForImmutableRevision(): 1982 if self._CheckForImmutableRevision():
1983 print('Skipped fetching project %s (already have persistent ref)' 1983 if not quiet:
1984 % self.name) 1984 print('Skipped fetching project %s (already have persistent ref)'
1985 % self.name)
1985 return True 1986 return True
1986 if is_sha1 and not depth: 1987 if is_sha1 and not depth:
1987 # When syncing a specific commit and --depth is not set: 1988 # When syncing a specific commit and --depth is not set: