Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

upgrade-zulip-from-git: Run git fetch with --prune.

Anders Kaseorg02582c695603
diff --git a/scripts/lib/upgrade-zulip-from-git b/scripts/lib/upgrade-zulip-from-git
index 6701bb51a8a..0c8a46e3efe 100755
--- a/scripts/lib/upgrade-zulip-from-git
+++ b/scripts/lib/upgrade-zulip-from-git
@@ -81,7 +81,9 @@ try:
)
logging.info("Fetching the latest commits")
- subprocess.check_call(["git", "fetch", "-q", "--tags", "--all"], preexec_fn=su_to_zulip)
+ subprocess.check_call(
+ ["git", "fetch", "--prune", "--quiet", "--tags", "--all"], preexec_fn=su_to_zulip
+ )
# Generate the deployment directory via git worktree from our local repository.
subprocess.check_call(