All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Jesko Schwarzer <jesko@schwarzers.de>
Cc: 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, 07 Apr 2026 08:23:16 -0700	[thread overview]
Message-ID: <xmqq4ilm7q1n.fsf@gitster.g> (raw)
In-Reply-To: <956b1bec-99ec-4d28-8229-804eb14e6d3a@schwarzers.de> (Jesko Schwarzer's message of "Tue, 7 Apr 2026 15:10:25 +0200")

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 understand Git deliberately avoids implicit network access on 
> checkout; the issue is only that the status text does not make the 
> "local remote-tracking ref" semantics obvious to everyone.

  reply	other threads:[~2026-04-07 15:23 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 [this message]
2026-04-07 16:13   ` Ben Knoble
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=xmqq4ilm7q1n.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git.vger.kernel.org@schwarzers.de \
    --cc=git@vger.kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.