🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #839

Re: [PATCH] doc: checkout: rewrite detached HEAD state explanation

#839
From: Junio C Hamano
Date: Mon, 19 Oct 2026 21:24
48 lines
14740 bytes
"Julia Evans" <julia@jvns.ca> writes:

> Let me know if this is a helpful way for you to bring some user perspectives
> into the conversation. Like I said earlier I don't really think it's possible to
> discuss how to explain HEAD in a vacuum so maybe these quotes will help!

It surely is more helpful than "I think it is not better" that is
not backed by anything.

> Also if you could give me any ideas for how to reply in a "shorter" way than
> "I don't think this is clearer" let me know, I can't bring you quotes from user
> research to justify every single wording choice :)

IOW, "Trust me" ;-)

It is often good enough among those who have worked together for
some time, and you certainly do qualify.

> -  "HEAD is a mysterious thing I never need to know about unless something has
> g-one wrong, eg. merge conflicts."

Somebody may have said so, but how does bringing it (together with
many other examples) up in _this_ discussion help us find a better
way to explain it to users?

Somebody is clueless about HEAD and does not feel the need to
understand it until they really need to.  This fact alone, that they
can get going with such a sketchy understanding and make use of Git
sufficiently well may be a great thing by itself.  It may support an
argument that we do not really have to explain what HEAD is to our
readers.  Is that the argument you are making?

I won't comment on each and every one of them, but is your point
that many potential readers do not understand HEAD and doing fine?

Of course there are a handful of examples that they do get it, like
this one.

> - "HEAD is a reference to a commit, either directly or indirectly. A direct
> commit is just in detached state, where HEAD is looking at the commit itself.
> An indirect reference would be the case you’ve shown above, where HEAD is a
> reference to a reference."

But what did you want to illustrate again?  I am little bit fuzzy on
what you wanted to achieve by dumping these at me.

Thanks.
Technical Details
Message-ID: <xmqqcxt52xkn.fsf@gitster.g>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-72456-linux-kernel-git=dewy.ru
References: <pull.2250.git.1791384721919.gitgitgadget@gmail.com> <xmqqik3da2bs.fsf@gitster.g> <9c15d34e-406d-4702-b606-da102a340e71@app.fastmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-72456-linux-kernel-git=dewy.ru
From: gitster@pobox.com (Junio C Hamano)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH] doc: checkout: rewrite detached HEAD state explanation
Date: Mon, 19 Oct 2026 14:24:24 -0700
Organization: Usenet Network
Message-ID: <xmqqcxt52xkn.fsf@gitster.g>
References: <pull.2250.git.1791384721919.gitgitgadget@gmail.com>
	<xmqqik3da2bs.fsf@gitster.g>
	<9c15d34e-406d-4702-b606-da102a340e71@app.fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3715923"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:FH/raq/XZ5lwKTPThA9mR75XYnQ= sha256:9/ZIGgfXjiNVmlnD8c5hN4sM57wVTOQ3TQJPmXmkiqs=
	sha1:FxF4u0Js+pBLd7FhHB70vXOG69Y= sha256:wVLv5Jw/x5eJ3pXnIp1EOId2ifCxKO22hhMYd2zfDRI=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 73434110B3E; Tue, 20 Oct 2026 00:24:52 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=pobox.com header.b=nvmlgy9O; dkim=pass (2048-bit key)
	header.d=messagingengine.com header.b=X6CCKcsd
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Q9hh48kmkyHE;
	Tue, 20 Oct 2026 00:24:48 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=git+bounces-72456-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=pobox.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 3FC86110B3A; Tue, 20 Oct 2026 00:24:34 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id CAB1929D2A; Mon, 19 Oct 2026 21:24:30 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792445068;
	b=FuYV3JTEfohoRHBFbUQfAvlq+iiS7OXDdHoIstQLJJHNZ4wwJIWpYilzfWNf8Gvw+EvI
	 teutmn5UWTCDX+cfmEdxHE6BYBU0YI/RZgX7C0k79Pa3FpfLNlxiiU18FESj9nOpz45qe
	 +X/T4uZtYz9zfPY7/PXivKklXBffcYsAcEt6slkhIqT03KD1tQln6Oe+xKx+LVPG2xqj8
	 TTxYeVtMFNhWAtHP5mDWbj5CCKga9gofqLyVM0hCbnSswSfHyQCGIic33Hp613PCvlcnJ
	 YahS+KEH+tvYhTdgC8ZnbG3PpQaxiwPVe78qCDI8E0YIpOLek94JHnbXPiKcYpF3QSQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792445068;
	h=X-Original-To:Received:DMARC-Filter:Received:Received:DKIM-Signature:
	 DKIM-Signature:X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:
	 Message-Instance:X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:
	 X-ME-Proxy:Feedback-ID:Received:From:To:Cc:Subject:In-Reply-To:
	 References:Date:Message-ID:User-Agent:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=RpYiB+h+YaoV0OCaIom1O74VOEtWRMonmSZjpzD+aeo=;
	b=YXWI+6mr1yqwe4HmHG7fkzP/As7yMBsdBgWwmcM2z81s5j23XRN1T6v7ye1vQIbiE6ol
	 YOpDXnWvDKDGnY+8FhsJfccTKwapZnNAiLvulknY0SM7M93xUYiundLDXfZwByeX5Y0bV
	 mYQchiCAUk8zttyYjrJBdOVobjVI56CrN1XntMhBFXfCE0P1w4TViooRrr8cIb/FyN1Tm
	 IioWWeziRBZ5nDDt6hr3YdKsLjpD6UrCCgvMyjKNAAHdJ7ZDH3HxWhbhfz90Do7046Soh
	 5SbD4/mNB6HCmpMkrIl8V33z6+SpPNOoqxTf8DzqoHWKTMpfYcqj+n5hWU1KOMQWwsQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm1 header.b=nvmlgy9O;
	dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=X6CCKcsd;
	dmarc=pass header.from=pobox.com;
	spf=pass smtp.mailfrom=pobox.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id EF6A6606A321;
	Mon, 19 Oct 2026 21:24:27 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm1 header.b=nvmlgy9O;
	dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=X6CCKcsd
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.153
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792445067;
	b=SCuofgKbwEP1zHcuPYbk4LctlIIgoSb26Ldvn0v10TjxdZe+Fcl26e4TqFJN5aiftk/r
	 P0WRGEYuJY0c8gEMNaf/LdQk73BPZnaw9V9lOVIqfJNpPtUvr/rnj2R6YyNIo9plY45oW
	 +Ch2A4cZ3QKYFv5QxeGxqTZ4AlOI9bXls//tIkZZAozxh+PFOf416+LovIJlcq1VdtRGO
	 l8pphnJ9FzyGhzyByA682eOud6p6UHMGFd1p67NbyQRY6QO0O8g22lAKFbGtjXuhlAebq
	 P+h4XoFp4WQ7Qkbkcax0CXgxrqFjQtd93WKrjtVDVU9aFA2NijN3cNLJZO8yJmISEmQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792445067;
	h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature:
	 X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance:
	 X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:
	 Received:From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:
	 User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=RpYiB+h+YaoV0OCaIom1O74VOEtWRMonmSZjpzD+aeo=;
	b=0YhFiQ4P7vPYUTiZ/SZQ3wlpH/DHWhFZ5M3hRR4jP7hLhsHcDas9Uz2/jDFs2DRXlRUq
	 0VixYiAbYiVtc87YQgyqKpe36VXzRz7q27as0fwSlxMbYgfaemXBD25hmFcdaTdjRyhac
	 nDMq7zSIuP5+KUNnwL04CMiAWYMVP6yR7LsBBSXeMCEhRe/Iu4yHpygTLNRGUA0MJU8b0
	 nXT6LzToiC3u7LelK9qxyDEIHUsbCJFPrD50TcUfK48gDGm/UrMZ/fPk+3hiafAtoey9i
	 3l92OwMxqKH7Pe5CuE2fNJu+OdChW70/2pqJFt18mQQMAT1OsOBXp+15k0dWgELzRHg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=pobox.com;
	spf=pass smtp.mailfrom=pobox.com;
	dkim=pass header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm1 header.b=nvmlgy9O;
	dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=X6CCKcsd;
	arc=none smtp.remote-ip=103.168.172.153
X-Received: from fhigh-a2-smtp.messagingengine.com (fhigh-a2-smtp.messagingengine.com [103.168.172.153])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id A22A7606A31B
	for <git@vger.kernel.org>; Mon, 19 Oct 2026 21:24:26 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A22A7606A31B
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com
X-Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46])
	by mailfhigh.phl.internal (Postfix) with ESMTP id E27F014000E9
	for <git@vger.kernel.org>; Mon, 19 Oct 2026 17:24:25 -0400 (EDT)
X-Received: from phl-frontend-02 ([10.202.2.161])
  by phl-compute-06.internal (MEProxy); Mon, 19 Oct 2026 17:24:25 -0400
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc
	:cc:content-transfer-encoding:content-type:content-type:date
	:date:from:from:in-reply-to:in-reply-to:message-id:mime-version
	:references:reply-to:subject:subject:to:to; s=fm1; t=1792445065;
	 x=1792531465; bh=RpYiB+h+YaoV0OCaIom1O74VOEtWRMonmSZjpzD+aeo=; b=
	nvmlgy9Of2F68JybfId+4a1IiT9p2TCpSR3ryC8HMCx9rQI9qbhQBMeSO2/BtH7P
	IVb2ZNogkxlRfAT5CeViHe4aKc2JO00Xzk+i7/5mfQoP9kt0s2SW062eTtke/hlV
	10KthQepHKZ9QdGPXijtNB9s9lyWrpaDc+QVyM3gCRg+fl1mkBD9dq5Ly2BCfeD9
	R5esl+Lju4gvZxv3UPMOtaKrn0ujnesTgANpHiRJz8LAAphPrG1Y7YVp/4aGXxH6
	NKLdxII4WnKxLK4Q7lO53IwZkMPKlPUGVVmYndo2mtBIE6k08hVHR5XcXN/8SrHT
	7mYh2xuBoWpbFr+8wpOjSA==
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
	messagingengine.com; h=cc:cc:content-transfer-encoding
	:content-type:content-type:date:date:feedback-id:feedback-id
	:from:from:in-reply-to:in-reply-to:message-id:mime-version
	:references:reply-to:subject:subject:to:to:x-me-proxy
	:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1792445065; x=
	1792531465; bh=RpYiB+h+YaoV0OCaIom1O74VOEtWRMonmSZjpzD+aeo=; b=X
	6CCKcsddlZbGDCsEwKMIzLSRswh2RYfHeoj58/OpJFciU0u9OV0MHn6XzFTplFpJ
	houbANbMYNXQG8Ws4Vh5VsLOQ7jCJwS7Rtv3eVo2LLZyLMyhyzVG/fI/hEw7aKVa
	pnCZZVzSWEDOnPTubJV7Yr00rUTYAk7VK6bYMumsv9ZAvJ+5JTbNuKQjSCN0b6VW
	6YClSUx4nhYm0+5sHWVfmHUBVnkRO1V2BpGzJpSDzAXeQa2wI+XaJk8KXXyzadzs
	q7MFzjjd6WbEOKXYb9Hg3e2XJRnRj8KzVmZo+zpiA/6+mVJhYsh8pCb052268B8G
	9Rii0jRNN3ixh9uqf1myw==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-06;
	repo=github.com/dkim2wg/interop; date=2026-10-08; sw=lmtpprox;
	action=sign d=pobox.com a=rsa-sha256;
X-DKIM2-Signature: i=1; m=1; t=1792445065; d=pobox.com;
	mf=PGdpdHN0ZXJAcG9ib3guY29tPg==;
	rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+;
	s=fm1:rsa-sha256:D7mq3ViWPSyZv+v82UyKM+rojz/NC/KxKIclEPFtHFSBPCa
	8gI9q9gvOQoxefpHa1woo/rAsu8bGLzYLPhKcNrqhjUWq1E2YABFdLncEx3QOSjy
	8IPQHKOn1e91Ax0Kqt+z9HURvyveNlQy06T3c379myy6c4xEYfhvqIoiKlYhKcaZ
	w/Tr2R3CrxlVhKo7yfBzWsbgZwHouyCHsOaaQs2Vl5FRAEsvqg6+PzvHQ6aY/X9V
	V2pCPh+qkN20WTPrs/TOeJoMm5ZQSEba0nuYCKoNNo0/4vp/r41eKJQahzjek7Ln
	bGl2MWycX/+RFA8tMjsaOB++Gem2qh4Eir8nzAg==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-06;
	repo=github.com/dkim2wg/interop; date=2026-10-08; sw=lmtpprox;
	action=mi-m=1; hc=13;
	hn=cc,content-transfer-encoding,content-type,date,feedback-id,
	from,in-reply-to,message-id,mime-version,references,subject,to,
	user-agent;
X-Message-Instance: m=1; h=sha256:m8aGjXLiGaD49u3XWbrtEt0wkzkPZdS3I++rJIbpO5M=:t6Mcw2I7JEgcPQnhbm9MHRS7VhYB9rStWfFpyxg9da8=;
X-ME-Sender: <xms:iYr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97tbDHbBhA>
    <xmx:iYrWapTzueGmkAKxujZCWJaBrFJ7Wa6dtdyy_k0jOpWOSubImlZ7aw>
    <xmx:iYrWauP7CWC83PEqIHJNoC57eqJ50xM2mvd9HFDg0usRqyN0-RuCFQ>
    <xmx:iYrWaiVFvXPU0j5nR2o7bC9Ky__vyUEyJiZppC1IQGnLccfOA_x66A>
    <xmx:iYrWasyyKQc6nIlxIhTyxeht7DGZBUDQUvmrBgjMyhO33rfiSInNeRvX>
X-Feedback-ID: if26b431b:Fastmail
X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 19 Oct 2026 17:24:25 -0400 (EDT)
X-Cc: "Julia Evans" <gitgitgadget@gmail.com>,  git@vger.kernel.org
X-In-Reply-To: <9c15d34e-406d-4702-b606-da102a340e71@app.fastmail.com> (Julia
	Evans's message of "Mon, 19 Oct 2026 10:05:58 -0400")
X-User-Agent: Gnus/5.13 (Gnus v5.13)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list