Skip to content

Commit

Permalink
Add --quiet to git submodule update
Browse files Browse the repository at this point in the history
  • Loading branch information
devnoname120 committed Nov 19, 2024
1 parent 0c2432a commit 04b6690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/antidote-update
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
() {
local oldsha=$(git -C "$1" rev-parse --short HEAD)
git -C "$1" pull --quiet --ff --rebase --autostash
git -C "$1" submodule update --init --recursive --depth 1
git -C "$1" submodule --quiet update --init --recursive --depth 1
local newsha=$(git -C "$1" rev-parse --short HEAD)
if [[ $oldsha != $newsha ]]; then
print "${green}antidote: updated: $2 ${oldsha} -> ${newsha}${normal}"
Expand Down

0 comments on commit 04b6690

Please sign in to comment.