Re: [PATCH v10 0/3] status: show additional comparison with push branch when different from tracking branch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 1, 2026, 23:09 UTC
- Message-ID
- <xmqqh5t5c4lj.fsf@gitster.g>
- In-Reply-To
- <pull.2138.v10.git.git.1767110888.gitgitgadget@gmail.com>
"Harald Nordgren via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 8 quoted lines
> cc: Chris Torek chris.torek@gmail.com cc: Yee Cheng Chin > ychin.macvim@gmail.com cc: "brian m. carlson" sandals@crustytoothpaste.net > cc: Ben Knoble ben.knoble@gmail.com > > Harald Nordgren (3): > status: show comparison with configured goal branch > improve tests > use pushRemote and tracking branch
Again this seems to do a "step 1 goes in a direction, step 2 fixes its mistake, step 3 changes course" drunken-man's walk.
The same advice to restructure them into a logical incremental progression that moves the codebase in one consistent direction to eventually reach the goal at the end applies.
I see you are now using pushremote_for_branch() that is already used by branch_get_push(). If that gives us "the other thing" that we would want to compare, instead of adding yet another configuration variable users need to be aware of, that is really good.