Hide git-related information in list for mkdir tool
as that information has no effect for that tool.
This commit is contained in:
parent
880ed131a1
commit
ded640ed80
2 changed files with 22 additions and 14 deletions
|
@ -8,6 +8,9 @@ _zimfw_run_list() {
|
||||||
print
|
print
|
||||||
if (( _zprintlevel > 1 )); then
|
if (( _zprintlevel > 1 )); then
|
||||||
if [[ ${_zfrozens[${zname}]} -eq 0 && -n ${_zurls[${zname}]} ]]; then
|
if [[ ${_zfrozens[${zname}]} -eq 0 && -n ${_zurls[${zname}]} ]]; then
|
||||||
|
if [[ ${_ztools[${zname}]} == mkdir ]]; then
|
||||||
|
print ' From: mkdir'
|
||||||
|
else
|
||||||
print -nR " From: ${_zurls[${zname}]}, "
|
print -nR " From: ${_zurls[${zname}]}, "
|
||||||
if [[ -z ${_zrevs[${zname}]} ]]; then
|
if [[ -z ${_zrevs[${zname}]} ]]; then
|
||||||
print -n 'default branch'
|
print -n 'default branch'
|
||||||
|
@ -17,6 +20,7 @@ _zimfw_run_list() {
|
||||||
print -nR ", using ${_ztools[${zname}]}"
|
print -nR ", using ${_ztools[${zname}]}"
|
||||||
if (( ! _zsubmodules[${zname}] )) print -n ', no git submodules'
|
if (( ! _zsubmodules[${zname}] )) print -n ', no git submodules'
|
||||||
print
|
print
|
||||||
|
fi
|
||||||
if [[ -n ${_zonpulls[${zname}]} ]] print -R " On-pull: ${_zonpulls[${zname}]}"
|
if [[ -n ${_zonpulls[${zname}]} ]] print -R " On-pull: ${_zonpulls[${zname}]}"
|
||||||
fi
|
fi
|
||||||
# Match the current module dir prefix from _zroot_dirs
|
# Match the current module dir prefix from _zroot_dirs
|
||||||
|
|
|
@ -520,6 +520,9 @@ _zimfw_run_list() {
|
||||||
print
|
print
|
||||||
if (( _zprintlevel > 1 )); then
|
if (( _zprintlevel > 1 )); then
|
||||||
if [[ ${_zfrozens[${zname}]} -eq 0 && -n ${_zurls[${zname}]} ]]; then
|
if [[ ${_zfrozens[${zname}]} -eq 0 && -n ${_zurls[${zname}]} ]]; then
|
||||||
|
if [[ ${_ztools[${zname}]} == mkdir ]]; then
|
||||||
|
print ' From: mkdir'
|
||||||
|
else
|
||||||
print -nR " From: ${_zurls[${zname}]}, "
|
print -nR " From: ${_zurls[${zname}]}, "
|
||||||
if [[ -z ${_zrevs[${zname}]} ]]; then
|
if [[ -z ${_zrevs[${zname}]} ]]; then
|
||||||
print -n 'default branch'
|
print -n 'default branch'
|
||||||
|
@ -529,6 +532,7 @@ _zimfw_run_list() {
|
||||||
print -nR ", using ${_ztools[${zname}]}"
|
print -nR ", using ${_ztools[${zname}]}"
|
||||||
if (( ! _zsubmodules[${zname}] )) print -n ', no git submodules'
|
if (( ! _zsubmodules[${zname}] )) print -n ', no git submodules'
|
||||||
print
|
print
|
||||||
|
fi
|
||||||
if [[ -n ${_zonpulls[${zname}]} ]] print -R " On-pull: ${_zonpulls[${zname}]}"
|
if [[ -n ${_zonpulls[${zname}]} ]] print -R " On-pull: ${_zonpulls[${zname}]}"
|
||||||
fi
|
fi
|
||||||
# Match the current module dir prefix from _zroot_dirs
|
# Match the current module dir prefix from _zroot_dirs
|
||||||
|
|
Loading…
Reference in a new issue