🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #1317

Re: [PATCH v2] status: compare against both upstream and push branch by default

#1317
From: Junio C Hamano
Date: Fri, 23 Oct 2026 17:43
44 lines
14752 bytes
"Harald Nordgren via GitGitGadget" <gitgitgadget@gmail.com> writes:

> Showing both without any configuration was the original proposal for
> that commit. But some found the comparison with the push branch to be
> noise. So the comparison was made opt in [1], with the idea of
> flipping the default later if people like the option.

The key phrase here is "if people like the option".

> Those who find the comparison with the push branch to be noise can
> set status.compareBranches to "@{upstream}" to get the old output
> back.

The presence of an escape hatch is described here.  But its
existence is not a valid excuse to force people to use it, nor does
it answer the question "if people like the option" posed above.

The paragraph above (and below) also assumes that comparing with
@{push} is not noise for many people.  We have not yet heard a
convincing argument supporting that assumption in the proposed log
message.  In a triangular workflow, @{upstream} is not under your
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.

> Having configured push.default and a push remote to get there,
> they are the users best placed to find that setting. Those who are
> just starting to push somewhere other than where they pull from
> benefit the most from seeing both comparisons without having to
> discover the variable first.

I do not think I follow.  Those who are just starting to push to a
destination other than @{upstream} would have changed their
configuration to do so, wouldn't they?  Aren't they equally well
placed, if not more, to find the same setting?

Overall, I still do not find it convincing that we should change the
default to surprise existing users.

Thanks.
Technical Details
Message-ID: <xmqqld7o71ot.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-73072-linux-kernel-git=dewy.ru
References: <pull.2458.git.git.1792437798463.gitgitgadget@gmail.com> <pull.2458.v2.git.git.1792585662669.gitgitgadget@gmail.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-73072-linux-kernel-git=dewy.ru
From: gitster@pobox.com (Junio C Hamano)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v2] status: compare against both upstream and push
 branch by default
Date: Fri, 23 Oct 2026 10:43:14 -0700
Organization: Usenet Network
Message-ID: <xmqqld7o71ot.fsf@gitster.g>
References: <pull.2458.git.git.1792437798463.gitgitgadget@gmail.com>
	<pull.2458.v2.git.git.1792585662669.gitgitgadget@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: usenet.network;
	logging-data="570517"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:e7QARDF4K16vi+Kc0VOUktK0slU= sha256:S2pheQOTuWkaz+pL/4CTI6Z4hMNTfXmU+WWgLwDrrgQ=
	sha1:E+Ikl0eHAG2F1Ehy8XNlp7Mr94c= sha256:v1jp8vCUrj3ALIJNVG5KKiQz/Mi3VKV84hWLoX7+7/k=
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 2902D111535; Fri, 23 Oct 2026 20:45:12 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 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, URIBL_BLOCKED=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=JOfYkjx+; dkim=pass (2048-bit key)
	header.d=messagingengine.com header.b=RkIOBqTB
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 7MpIsyZZUa75;
	Fri, 23 Oct 2026 20:45:04 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=git+bounces-73072-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 71886111511; Fri, 23 Oct 2026 20:44:49 +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 72B7524AE4; Fri, 23 Oct 2026 17:43:27 +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=1792777404;
	b=cDZ0260acHpYERMVyZmiOAR50YFZUrBGXLOrzY1FjD/qAQbNZzRftrZFU6YRp/KOCgHZ
	 U6cwtL5BvUH5HsTA2gnCBulvmD4CVnScrvnWaWcF+kApCdVr5yGmu5nVwl6bzYOmIzqaz
	 rrmUZl/wZIA/L+bqxqFEjV7ItklmxOoBYKuO3u/KKsmc9J8GLOWToRUUMnPk3rdkUQTr9
	 S8UKTZM9U8TVE9/2bLD0M8rlittilmQcH3w/qi6SRknFEDUOL8NDmeFyR/u1eFKYIB4OF
	 +lmFIU8UANiRD4f1pbfKxoYvyznBoXnBCJBJ2daaex38RvxkCaRYhmOQzKDwpgYDQ9g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792777404;
	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;
	bh=tyT/BCSSlwlwLuxgSjmBCIH1znBXSTTps6RicwuCqf8=;
	b=W3+89Ik9xp0pmPmhyDTmVYPKp0dGyln4kmH5JUKtxvdbhIfuprXSjM6NauRREQJlTf9T
	 YKpSZHwMXzxTzmEoJehIStdg6XaWpWWmDhsMhBrE6bSMnTliXioUhLCh/ELDhHHI3y+sR
	 hQGpNiF6TVPkmCNkTH/ORflvHkrmGlseQ2+bmxDehblllfQLOxQLf10unYZuHoW8r2mus
	 Uc9VfJsra/69CWj1J0q1AutRgUrEh0Tmqlj1QHR8PkO0C0vfX0u7ocAERvy/FgAmleOqD
	 1qcVDfv4LK9K3Zrg2bQFdXNrYw5SdNdfngx7DQV8zu/GbP5CBP2Sh6mN/HaC6WulS7g==
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=JOfYkjx+;
	dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=RkIOBqTB;
	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 41699606A321;
	Fri, 23 Oct 2026 17:43:24 +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=JOfYkjx+;
	dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=RkIOBqTB
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.147
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792777398;
	b=4hSzY1XlprLAXRU0bxnI+ZO99F06ECprXOKjRoruPjTLFFnz7WtU+WzFRPdSyluALQQX
	 p2prhydP37/PNgk0wv7XQP+xwKxn8LREPg+8jtoFfXa/d41SKApN24OPDlemFtYSaj+FI
	 a9FsVjWx+Y5DCs1Q6rnD2WJwoGO20BVgKBsdoasnuzBmOCqjk8ioybj7Ut618tuzHstSH
	 PZuVQSzrx+WlLLx92MVJQd/ArcwCIUhTNaWPbOjf6oHYmpL0KkuV/xBg6zqZw78rNCYK1
	 y3lNVgid0b8Ffy61OGV7daxhYsjMp/uhJaRaJXZF1eaAjxUc0SXADL/0aMYt8ARzl/w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792777398;
	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;
	bh=tyT/BCSSlwlwLuxgSjmBCIH1znBXSTTps6RicwuCqf8=;
	b=KXIbmAI3FoQJzng85WGzuJr7nHCfd38MA5naXHV/NBAJ/s57o6SIVWfoVAr3BUcy3AJb
	 vm9yjwpL4cuv+Os4FQs/cSBeikhtlUWga3/3UTGf65vHE0DlH4nKl0EIFj3mZAxH6Fm8g
	 gdLxlvgQ5VaYJE+ioGbtOLm3uFZ7YPp3SmneXvkgl0Qaov8nINWy4JqKX3Ru/zd5PSA8G
	 kaYXn18HFB9v+u4pltRgh+j+nbxAEBqshg7mB/zYUGFE8ZD7+ZaaqFogTm24adVQqKbtX
	 pHgSgEJs3Qixe/wRs3QzVq/SO0gxEOjBCY2DkxCce7PqvBx6PPtmRWUno6eSE292Fgw==
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=JOfYkjx+;
	dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=RkIOBqTB;
	arc=none smtp.remote-ip=103.168.172.147
X-Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A713606A31A
	for <git@vger.kernel.org>; Fri, 23 Oct 2026 17:43:17 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9A713606A31A
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-11.internal (phl-compute-11.internal [10.202.2.51])
	by mailfout.phl.internal (Postfix) with ESMTP id C078CEC00DB
	for <git@vger.kernel.org>; Fri, 23 Oct 2026 13:43:16 -0400 (EDT)
X-Received: from phl-frontend-02 ([10.202.2.161])
  by phl-compute-11.internal (MEProxy); Fri, 23 Oct 2026 13:43:16 -0400
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc
	:cc: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=1792777396; x=1792863796; bh=tyT/BCSSlw
	lwLuxgSjmBCIH1znBXSTTps6RicwuCqf8=; b=JOfYkjx+dgjkck6JNQx+I9vHzy
	LCI8CEFWxw+W+dCbZJhmU9KPVLLq8yvqf3lnqZP6dXos8SmrK89YQXnT2cxMkzT5
	WemzntMCyWbJbNxto1n3U1enPzR02BPa5Xt60ZB2zTF3Mt0HKrUq7AoZj7ja6RaR
	ybVSuHgpVVTnYszIcbnV+Nzbjpc64cMVklkn6rdANHNuDqFE8yiLoNACev8KmPDo
	6NlShMsxO0IoYiP4wnH/A9BYGE9zFHbMlPe5GdKU+9zU28qevYyZEmynkQZSA3vg
	T2aUxR56AAU7eneUoyU0RtiGkvGovb/Lw948t6QOVBUivTsOHPZcLtjSbRbA==
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
	messagingengine.com; h=cc:cc: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=
	1792777396; x=1792863796; bh=tyT/BCSSlwlwLuxgSjmBCIH1znBXSTTps6R
	icwuCqf8=; b=RkIOBqTBeVn+GmFu6iSKslQJhauGI7VVc/u4hDJPFx+5lqcFil3
	44rZAz1KxuyaENiaOKPcY7navBX2QPoqOhckXnji8rtn+pq5Arfs6xZ+sNcZtbfu
	YT8UhkvC0RBrs1ARYvyVA2bpNCFgoCHVtD5nbvnSlDlqF/ITEGPQvLBeCzKVgSPY
	wBbKzZ5C5CagQXKejBsoYYisqvt0J8YkRYBGPua254ue/rwcVv4Xdc3HRMObzh5q
	6KcJQghVs9ea01SOuTQrnJrWI058jYYTM4eD/UKL6hcXq6FTCtwctNgJbRJnEUCV
	fi2X85dyl2PWh5prtgA8uqBow5qa6zomnTA==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-07;
	repo=github.com/dkim2wg/interop; date=2026-10-18; sw=lmtpprox;
	action=sign d=pobox.com a=rsa-sha256;
X-DKIM2-Signature: i=1; m=1; t=1792777396; d=pobox.com;
	mf=PGdpdHN0ZXJAcG9ib3guY29tPg==;
	rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+;
	s=fm1:rsa-sha256:EX7HCi55A1lfSzOQn0F3ZSfSAicKOinmmPGC8o01+f0wvCH
	eZKM9Wym5X8x70I20MymLAzET4xxqULk3E1jJumtl4wcZHjOpUOKzz3mYOMmRI1Q
	6DUg0C6EjAPD4vth3s2aGUvjOP2OQuHuUGQk9gDe44qfNFjLljhFAVYTqCwOvL50
	ZesffUMzWvTURpfEjbBV1EIKOWE3xdWewFYYdulNzfIOWBpsaR7XID8q1UO9Ukwp
	o5auSRAly9bOA9XELJUE/hdNlGo5bwW90E/Z1XfNaq3laJvqnuOi96HgTKJ+j2nD
	Qa+iIzS+lIp7351owyS0IOoJQfrkRmk8XXnd/jA==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-07;
	repo=github.com/dkim2wg/interop; date=2026-10-18; sw=lmtpprox;
	action=mi-m=1; hc=12;
	hn=cc,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:nE76RdMnN7+exwzMnQ7ZiIjneX4Bzk5hKOEsr+nF9Sk=:0dqKZT36WfbBnzhxyDA2ZbLpTRtdx8kuE+s7pLZyObs=;
X-ME-Sender: <xms:tJzbak3MXmo4io78Cnvp_bd6TTi_BXxgGM9gpCMo29ujZLiuNZEpxg>
    <xme:tJzbaixsV4rLllOYRa0rsV_SX4OSHjVy06NcXCbG4F0MuphodjMs9edGbFiAxef4g
    up0l2LyCTWvAJqwZp2ZOXsczhP2gQ33vd9YApXEMt_jSzYyd5HgTA>
X-ME-Received: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g>
    <xmx:tJzbarYblvm_E3vgp6trWqRFsNefx3qeae1CLRx0QG_A7ZS1AK1X6QOf>
X-Feedback-ID: if26b431b:Fastmail
X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 23 Oct 2026 13:43:16 -0400 (EDT)
X-Cc: git@vger.kernel.org,  Phillip Wood <phillip.wood123@gmail.com>,
  Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>,  Harald Nordgren
 <haraldnordgren@gmail.com>
X-In-Reply-To: <pull.2458.v2.git.git.1792585662669.gitgitgadget@gmail.com>
	(Harald Nordgren via GitGitGadget's message of "Wed, 21 Oct 2026
	12:27:42 +0000")
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