Re: [PATCH v2] status: compare against both upstream and push branch by default
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 24, 2026, 16:43 UTC
- Message-ID
- <xmqq1p9f123v.fsf@gitster.g>
- In-Reply-To
- <CALnO6CBD2aGg_wDZZsT-mWJ99MXYUycx32JfsK8zJXfcmjTBDw@mail.gmail.com>
"D. Ben Knoble" <ben.knoble@gmail.com> writes:
Show 11 quoted lines
>> control, so you may want to monitor its progress closely. But isn't
>> your @{push} destination typically owned solely by you? In other
>> words, aren't you the only one who pushes to it? If so, whatever
>> you did locally would be the only change that could go on top of
>> @{push}, and unlike @{upstream} you would not see any unexpected
>> work over there appearing without your control.
>
> I think this paragraph assumes that either
>
> * I'm only pushing new commits to @{push}, or
> * I remember what the current state of @{push} is without checking.I do strongly assume the former (I count revert in "new commits" in this context, by the way), but not necessarily the latter. But unlike what appears in @{upstream}, I expect you would recognise them when you see them.