From: Aniket Gupta Date: Fri, 20 Nov 2026 19:02:46 GMT Subject: Re: [PATCH 2/6] status: say when the push branch was rebased cleanly Message-ID: <20261120190246.79249-1-aniketgupta3001@gmail.com> In-Reply-To: Hi Harald, Thanks for working on this. > + if (num_same) > + strvec_push(&argv, "--cherry-mark"); This makes git status slower when the branches have diverged as every commit on both sides now needs a patch id. With status.compareBranches = @{upstream} @{push} and 3000 commits on both side the status goes from 25ms to 150ms. With 10000, it goes from 60ms to 500ms. And with only @{upstream} it stays the same. Would it make sense to count without --cherry-mark first and only run the patch id pass when the two counts are small?