Re: [PATCH v25 2/2] status: show comparison with push remote tracking branch
- From
Jeff King <peff@peff.net>
- Date
- Jan 13, 2026, 17:03 UTC
- Message-ID
- <20260113170321.GA265671@coredump.intra.peff.net>
- In-Reply-To
- <fa744efc598cd902e9a3a4a17b24134351ca5803.1768306316.git.gitgitgadget@gmail.com>
On Tue, Jan 13, 2026 at 12:11:56PM +0000, Harald Nordgren via GitGitGadget wrote:
Show 9 quoted lines
> Example output when tracking origin/main but push destination is > origin/feature: > On branch feature > Your branch and 'origin/main' have diverged, > and have 3 and 1 different commits each, respectively. > (use "git pull" if you want to integrate the remote branch with yours) > > Your branch is ahead of 'origin/feature' by 1 commit. > (use "git push" to publish your local commits)
Can we make this configurable?
I build my daily driver off of the 'jch' branch, which now includes this series, and I've found that for my triangular workflow the ahead/behind for the push branch is just useless noise. I treat my push destination like a mirror, where I always just push up everything at the end of the day.
I know that the output can be disabled with status.aheadbehind, but:
1. I noticed this first via "git checkout", which does not have such a
flag (AFAIK). 2. That flag would also disable the upstream branch ahead/behind
output, which I do find useful.-Peff