From 6b5ce3579c403166f8491e8a75201d201466cc86 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 28 Mar 2022 22:25:39 -0700 Subject: [PATCH] total-contributions: Do a fetch for zulip/zulip as well. This avoids producing stale output by having a consistent algorithm for all repositories. --- tools/total-contributions | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/total-contributions b/tools/total-contributions index f10ddf81da..2741dc4d68 100755 --- a/tools/total-contributions +++ b/tools/total-contributions @@ -135,6 +135,7 @@ except subprocess.CalledProcessError: sys.exit(0) out_dict: Dict[str, int] = defaultdict(int) +subprocess.check_call(["git", "fetch"], cwd=find_path("zulip")) zulip = retrieve_log("zulip", lower_zulip_version, upper_zulip_version) add_log(out_dict, zulip)