Re: [PATCH v2] status: reword message for a missing upstream branch
- From
Elia Pinto <gitter.spiros@gmail.com>
- Date
- Oct 30, 2026, 09:05 UTC
- Message-ID
- <20261030090545.9744-1-gitter.spiros@gmail.com>
- In-Reply-To
- <20261021072137.258934-1-gitter.spiros@gmail.com>
Hi,
a gentle ping on this one. It is queued in 'seen' as ep/status-missing-upstream and has been marked "Needs review" in the last three issues of "What's cooking".
To recap: after cloning an empty repository, "git status" says that the upstream "is gone" and suggests "git branch --unset-upstream", while the upstream was simply never created and "git push" is what the user needs. The patch rewords the message for a configured upstream that does not exist, and suggests "git push" only when it would actually create it (i.e. when @{push} is the upstream).
v2 also addresses Junio's note on v1 about the "[gone]" label: the log message now says correctly where it is translated, and rewording the label itself is left for a separate patch.
Any review or comment would be appreciated.
Thanks, Elia