File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -366,10 +366,8 @@ do_list_subrepos() {
366
366
local TS_END=0
367
367
local TS_TEXT=' '
368
368
369
- if [ -n " $CI_TIME " ]; then
370
- [ -z " $GDATE " ] || TS_START=" ` $GDATE -u +%s` "
371
- echo " [D] ` date` : Discovering submodules (if any) referenced from any tip commit of repo(s): $* " >&2
372
- fi
369
+ [ -z " $GDATE " ] || TS_START=" ` $GDATE -u +%s` "
370
+ echo " [I] ` date` : Discovering submodules (if any) referenced from any tip commit of repo(s): $* " >&2
373
371
374
372
( # List all unique branches/tags etc. known in the repo(s) from argument,
375
373
# and from each branch, get a .gitmodules if any and URLs from it:
@@ -464,10 +462,8 @@ do_list_subrepos() {
464
462
echo " [D] ` date` : Completed raw discovery of submodules (if any) referenced from any tip commit of repo(s): $* " >&2
465
463
fi
466
464
) | sort | uniq
467
- if [ -n " $CI_TIME " ]; then
468
- [ -z " $GDATE " ] || { TS_END=" ` $GDATE -u +%s` " ; TS_TEXT=" after $(( $TS_END - $TS_START )) whole seconds" ; }
469
- echo " [D] ` date` : Finished discovering and filtering submodules (if any) referenced from any tip commit of repo(s)${TS_TEXT} : $* " >&2
470
- fi
465
+ [ -z " $GDATE " ] || { TS_END=" ` $GDATE -u +%s` " ; TS_TEXT=" after $(( $TS_END - $TS_START )) whole seconds" ; }
466
+ echo " [I] ` date` : Finished discovering and filtering submodules (if any) referenced from any tip commit of repo(s)${TS_TEXT} : $* " >&2
471
467
# ...in the end, return all unique Git URLs registered as git submodules
472
468
}
473
469
You can’t perform that action at this time.
0 commit comments