From: Ben Knoble <ben.knoble@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Jesko Schwarzer <jesko@schwarzers.de>,
git@vger.kernel.org, git.vger.kernel.org@schwarzers.de
Subject: Re: checkout: clarify "up to date with origin/" uses local remote-tracking ref
Date: Tue, 7 Apr 2026 12:13:27 -0400 [thread overview]
Message-ID: <5DFBE9D6-0EC8-4702-99C5-827AEF8C6265@gmail.com> (raw)
In-Reply-To: <xmqq4ilm7q1n.fsf@gitster.g>
>
> Le 7 avr. 2026 à 11:28, Junio C Hamano <gitster@pobox.com> a écrit :
>
> Jesko Schwarzer <jesko@schwarzers.de> writes:
>
>> Would the project consider one of the following?
>> 1. *Clearer messaging*, e.g. indicating that the comparison is
>> against the last-known origin/<branch> (or similar wording that does not
>> imply a live remote check).
>
> Surely. Patches to start discussions are very much welcome.
>
>> 2. *Optional context* when available (e.g. from reflog or last
>> fetch time), so users know how stale the origin/* ref might be — if that
>> is technically and policy-wise acceptable.
>
> I am imagining that #1 above would add something that conveys
> "relative to the last known state", and this will extend/replace the
> phrase you would choose for "the last known state" with "as of N
> days ago" or something when necessary pieces of information is
> available, right? That sounds entirely feasible.
I seem to recall a recent (last ~6 months) thread about “last fetch time” and there being some question of how to record it. Alas I haven’t searched the archives to find it.
next prev parent reply other threads:[~2026-04-07 16:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-07 13:10 checkout: clarify "up to date with origin/" uses local remote-tracking ref Jesko Schwarzer
2026-04-07 15:23 ` Junio C Hamano
2026-04-07 16:13 ` Ben Knoble [this message]
2026-04-07 16:23 ` Junio C Hamano
2026-04-07 16:27 ` Junio C Hamano
2026-04-08 18:14 ` D. Ben Knoble
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5DFBE9D6-0EC8-4702-99C5-827AEF8C6265@gmail.com \
--to=ben.knoble@gmail.com \
--cc=git.vger.kernel.org@schwarzers.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jesko@schwarzers.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox