1
0
Fork 0
mirror of synced 2024-11-26 17:25:35 -05:00

Hide git-related information in list for mkdir tool

as that information has no effect for that tool.
This commit is contained in:
Eric Nielsen 2024-08-26 19:46:25 -05:00
parent 880ed131a1
commit ded640ed80
No known key found for this signature in database
GPG key ID: 678AF5E338C87D99
2 changed files with 22 additions and 14 deletions

View file

@ -8,6 +8,9 @@ _zimfw_run_list() {
print
if (( _zprintlevel > 1 )); then
if [[ ${_zfrozens[${zname}]} -eq 0 && -n ${_zurls[${zname}]} ]]; then
if [[ ${_ztools[${zname}]} == mkdir ]]; then
print ' From: mkdir'
else
print -nR " From: ${_zurls[${zname}]}, "
if [[ -z ${_zrevs[${zname}]} ]]; then
print -n 'default branch'
@ -17,6 +20,7 @@ _zimfw_run_list() {
print -nR ", using ${_ztools[${zname}]}"
if (( ! _zsubmodules[${zname}] )) print -n ', no git submodules'
print
fi
if [[ -n ${_zonpulls[${zname}]} ]] print -R " On-pull: ${_zonpulls[${zname}]}"
fi
# Match the current module dir prefix from _zroot_dirs

View file

@ -520,6 +520,9 @@ _zimfw_run_list() {
print
if (( _zprintlevel > 1 )); then
if [[ ${_zfrozens[${zname}]} -eq 0 && -n ${_zurls[${zname}]} ]]; then
if [[ ${_ztools[${zname}]} == mkdir ]]; then
print ' From: mkdir'
else
print -nR " From: ${_zurls[${zname}]}, "
if [[ -z ${_zrevs[${zname}]} ]]; then
print -n 'default branch'
@ -529,6 +532,7 @@ _zimfw_run_list() {
print -nR ", using ${_ztools[${zname}]}"
if (( ! _zsubmodules[${zname}] )) print -n ', no git submodules'
print
fi
if [[ -n ${_zonpulls[${zname}]} ]] print -R " On-pull: ${_zonpulls[${zname}]}"
fi
# Match the current module dir prefix from _zroot_dirs