From 383d795aafdbfba90d00306e45a4b7a0e191b58a Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Tue, 16 Aug 2022 09:45:49 -0700 Subject: [PATCH] upstream details things --- git-recent | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git-recent b/git-recent index 1f298b6..2e508c2 100755 --- a/git-recent +++ b/git-recent @@ -32,7 +32,8 @@ while getopts "n:" opt; do done shift $((OPTIND-1)) -## dont collect upstream details ([ahead 2, behind 54]) for big-ass git repos, it adds >5s. +# Dont collect upstream details ([ahead 2, behind 54]) for big-ass git repos. It's slow. +# git count-objects -v | grep -- "in-pack" | cut -d " " -f 2 # TODO, use `git count-objects -v` and consider `in-pack` and `size-pack` instead of special casing chromium if git config --get remote.origin.url | grep -q chromium.googlesource.com; then upstream_deets=""