Subject: Re: Memory leak

From: Junio C Hamano <[email-masked]>
Date: Thu, 22 Jan 2026 10:19:30 -0800

Harald Nordgren <[email-masked]> writes:

> I realized now that my code would benefit from branch
> de-duplication.

... meaning that ...

> When
> running it from the main branch (which has upsteam+push = origin/main) and
> my git setting is this which I intended to run from now on:
>
>     git config --global status.compareBranches "@{upstream} @{push}"

... when @{upstream} and @{push} ends up being the same branch?
Yes, if that happens, it would be irritating for the users if we
do not deduplicate.

Thanks.