summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--git_superproject.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/git_superproject.py b/git_superproject.py
index 3b23d292..19b91259 100644
--- a/git_superproject.py
+++ b/git_superproject.py
@@ -369,9 +369,14 @@ def _UseSuperprojectFromConfiguration():
369 if user_expiration is not None and (user_expiration <= 0 or user_expiration >= time_now): 369 if user_expiration is not None and (user_expiration <= 0 or user_expiration >= time_now):
370 # TODO(b/190688390) - Remove prompt when we are comfortable with the new 370 # TODO(b/190688390) - Remove prompt when we are comfortable with the new
371 # default value. 371 # default value.
372 print(('You are currently enrolled in Git submodules experiment ' 372 if user_value:
373 '(go/android-submodules-quickstart). Use --no-use-superproject ' 373 print(('You are currently enrolled in Git submodules experiment '
374 'to override.\n'), file=sys.stderr) 374 '(go/android-submodules-quickstart). Use --no-use-superproject '
375 'to override.\n'), file=sys.stderr)
376 else:
377 print(('You are not currently enrolled in Git submodules experiment '
378 '(go/android-submodules-quickstart). Use --use-superproject '
379 'to override.\n'), file=sys.stderr)
375 return user_value 380 return user_value
376 381
377 # We don't have an unexpired choice, ask for one. 382 # We don't have an unexpired choice, ask for one.