Make the -d option disable updating the local repository. It originally enabled updating the local repository, performing the reverse of its documented functionality.
This commit is contained in:
parent
3a3818cab3
commit
3c7b7518ef
@ -475,7 +475,7 @@ main() {
|
|||||||
confirm
|
confirm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${noupdate}" ]; then
|
if [ -z "${noupdate}" ]; then
|
||||||
sayv "Updating the repository..."
|
sayv "Updating the repository..."
|
||||||
vcs_update
|
vcs_update
|
||||||
fi
|
fi
|
||||||
@ -508,7 +508,7 @@ main() {
|
|||||||
say "${BGREEN}${SC_CP}: ${commitmsg}${RESET}"
|
say "${BGREEN}${SC_CP}: ${commitmsg}${RESET}"
|
||||||
confirm
|
confirm
|
||||||
|
|
||||||
if [ -n "${noupdate}" ]; then
|
if [ -z "${noupdate}" ]; then
|
||||||
sayv "Updating the repository..."
|
sayv "Updating the repository..."
|
||||||
vcs_update ${SC_CHANGE_LIST}
|
vcs_update ${SC_CHANGE_LIST}
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user