Article View: linux.kernel.git
Article #1330Re: [PATCH v2] status: compare against both upstream and push branch by default
From: Harald Nordgren
Date: Fri, 23 Oct 2026 18:48
Date: Fri, 23 Oct 2026 18:48
23 lines
12857 bytes
12857 bytes
> 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?
Most users (from my experience) have their *push* branch as upstream,
stemming from the `git push -u` behavior that is recommended by
GitHub. Meaning they are already missing the info about what upstream
is doing and how itβs changing.
This is limiting their understanding of triangular workflows.
When using `--set-upstream-to`, now they get upstream status, a big
improvement, but this scares many users because the connection to push
branch is now seemingly lost.
This is the point behind this: To ease users into triangular thinking.
We should not assume our users are git experts, many of my them never
read the git docs.
Harald
Technical Details
Message-ID:
<CAHwyqnVMgAhyHrevXOJ0sBKkaPPzSmCcCPSSeqm6dm-MRX65cQ@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73086-linux-kernel-git=dewy.ruReferences:
<pull.2458.git.git.1792437798463.gitgitgadget@gmail.com> <pull.2458.v2.git.git.1792585662669.gitgitgadget@gmail.com> <xmqqld7o71ot.fsf@gitster.g>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-73086-linux-kernel-git=dewy.ru
From: haraldnordgren@gmail.com (Harald Nordgren)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v2] status: compare against both upstream and push branch
by default
Date: Fri, 23 Oct 2026 20:48:30 +0200
Organization: Usenet Network
Message-ID: <CAHwyqnVMgAhyHrevXOJ0sBKkaPPzSmCcCPSSeqm6dm-MRX65cQ@mail.gmail.com>
References: <pull.2458.git.git.1792437798463.gitgitgadget@gmail.com>
<pull.2458.v2.git.git.1792585662669.gitgitgadget@gmail.com> <xmqqld7o71ot.fsf@gitster.g>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="583927"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:KqiI3ORx+sWVHR2kW58cLaI+NPQ= sha256:Czdx5l27VAwYlq5lmPO0Flf15GWdtZT1AgfOMzG4WEM=
sha1:ROO+eWqC+rK1MubGa4V0v0Bv70g= sha256:WUkHdSsmDYv/rqaM1XUGPk4x3jaoRIqoQEJVKZdS5Fc=
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 6CF74111554; Fri, 23 Oct 2026 21:51:14 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.048
X-Spam-Status: No, score=-3.048 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, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, 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=gmail.com
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 IqHc2gcFIj-a;
Fri, 23 Oct 2026 21:51:07 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-73086-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 6E426111553; Fri, 23 Oct 2026 21:50:56 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 5E3512DAD7; Fri, 23 Oct 2026 18:49:10 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792781350;
b=sPpLAVS/bfCejTLwW6vmVHSvm1EI48oI25LFiVvUV50GglaPeiZPxJ7YXg7H/7NWhk5j
V54UNs3XjyeyGWXkI9UPuiptqKAONz/ghfvksmVk3UpBEaFfdRM5Ex7PZP0WRB1FUORbj
0D0GFZ6yi7YI1Angcr37aZ6QG439wAG799J9ehUYxKxKLp/d/4DHuL5fIPb9eGQjC28BJ
Q3KIvMUDBxO+jCiB2ugwSd0Gk9AcVlIyq0aY6SPG+28i/sUp+reDOei14hFIzs8HUkp9e
j+NG73JK6QQgvIFo8F3c4PQ4oUvkWSKE1/tErDs6TKjcKrxt6Em65cNl3429tl6avIw==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792781350;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
References:In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:
Cc:Content-Type:Content-Transfer-Encoding;
bh=oYpPZkbvFVRq54hoF/djzRx4r809Ew4WV/JELCIsqgI=;
b=ISgkc3lv9naFnY0iF7vqCoVkratwhbwPbvDhazW/UjIaSCLO7jeIO/HetcaDXD//LYxI
Adm8sv1Ryki9p1UigbunkNqakJqb/9bVJC29GQiGFd3WRW5R9+4fEw6BgV4RO6wnrWuwV
th3l7oNSB8FzO04xxFJGIPQmBf8sbegC0V5HRXOvpFOxYb0V+4RIVh8Ovl99ZAoC8a1Kj
pM9YAK7RJ7R0kD5psu1oupZH3ezX8iRb8qn89aDmsR4Kn3mviKolVA0rRSVp5RJkNKibL
+VSmmjs6GA4kOufhc33hxzITxqF1+6U19f0/GpIQF1Pf6/BlWSPQcqZsUT7H+SlSFGA==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=TZdTiUaP;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.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 355C1606A323;
Fri, 23 Oct 2026 18:49:10 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=TZdTiUaP
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.208.41
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792781349;
b=VO8Yo/+426cblHgTPCPHChkD22u2tYBNX1TUwdLVCp7/pNXxBryVfcnaQgwaUwfVHEA0
fRsRr2I9Vt5BelyZBTe5lWsn/DP1tYxdosYs8OtedUwldAPRyspAzYlEwBRchWV3s6rir
V3R8fSfjydG/dqYg9WURZ6JU4tlxNmO63doJMRXof9UyAPMWV84dwQ6gZPRzC4NoIlmXI
wsIYCAV5IKcUNDWa/odb/PSF9gpUdxYvhoOlnXLciUU5DJVKutZ66UlxDED36I6EHa6py
ei2KhxsuAeHj/6LimyXH5lmAodeGctvXYjL+vz4whPYOqiwUhk91/zdQQ3rt5nrdIAg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792781349;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:
MIME-Version:References:In-Reply-To:From:Date:X-Gm-Features:
Message-ID:Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
bh=oYpPZkbvFVRq54hoF/djzRx4r809Ew4WV/JELCIsqgI=;
b=gFTIpY5gC/HNvQutIkjaa3qsdVhWFkIJJaXEwOLt9mOt6Mo65ojUSYHD8WzY4WZ3GtO+
bJndwrzfeOp9rcGuN4vkreBjmGNO6VsqNvZScot0uz9Y4DPG32YLILlovkd0EPFPp/p5z
F1GoZOUev+2g9AsqwbTkza+53J7mTlx/0+xRtexkngly+Q2POUWfxJ+IccfN/IvL28s37
qOi3CGsqbQSUN+jVEMVDs8Dazw05gvrijgZZm52SXl+vSsk+OzWs8qw1pWfOvXtHExypM
xnDl8s4oRs6tBk+O7URY2Xj5ijUCSUgJRyVkMDkRxcgHdYcuq1h3yV36dUlmpaYu/4Q==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=TZdTiUaP;
arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.208.41
X-Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6ACA606A31A
for <git@vger.kernel.org>; Fri, 23 Oct 2026 18:49:08 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E6ACA606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-6acb9c018ffso1635235a12.1
for <git@vger.kernel.org>; Fri, 23 Oct 2026 11:49:08 -0700 (PDT)
X-ARC-Seal: i=1; a=rsa-sha256; t=1792781347; cv=none;
d=google.com; s=arc-20260327;
b=PppjLNywyH6X+9zIMNF+o/8eLq4Zm79a8QFu9LbC0fYi5ImyVMQTSqdQwXn83qLouA
23J2pbPjPmUgntpp5INuW++IrT4F/2MEtFnhllYvQDWhAY3HewcFgXhsjPILPqpKDPa6
cprSAAreqvVne+hHJiiTb5eRJwzyOC+lAfeAMzUO6Ws+M2r7Gwwrdd1B7OqvVcGoH2AE
Yf898IhTFiJGgCikCA6gmfCZDPCQr5T+mRDryk8NLSgsSWImhn7T2GgRZCqpNv9z0AUj
pWr3nN0tzkUFjWT+EYI6Fa/rKxMTms3GR4IODW8DWQnmzo17z+mOznDu6aTRXfOelxfa
I6Pw==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=oYpPZkbvFVRq54hoF/djzRx4r809Ew4WV/JELCIsqgI=;
fh=flYhiqJ9Oq+ABFTRg6Y02uZEQ7tYmC8l8GtFiID50rg=;
b=AxG6M/1hJyXlwaen9NgA20AeOPzcT5+0JEm79POzM7FUw7RWBQHEg74sgEsqMarNUe
ZgpSiSu6t2Zj02bKldEaVIPkcfcqF95uvzFAcyR25b+p4iWJo0MTWf9pykY33U9u677C
8UHje1HTJhejyCaNZONzKK+OghB0L72lmmuajoUORBJcvfEiCo6y9wg12MQFXLNB0hsh
6jGO6a3ejy/DLhcctL2+V6H8k5N6SRxR1SJsPw+lXmuyu0JTn6QeApVdsCg8PNh0Ge45
nwp6Ppm2DNQEBif1ppRiL6hCUXnQYb/BjqpJTVnj1WMi4BapxEhQArSD8CF9XrsMbRg5
O4bQ==;
darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1792781347; x=1793386147; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=oYpPZkbvFVRq54hoF/djzRx4r809Ew4WV/JELCIsqgI=;
b=TZdTiUaPXaXg4eYsaYWbXNSoN+ae1n/mezfrrQsHwO0tCqSpKyVJKzdX0Af0c3uFx3
zF+iVuvFJjwqNSUfPm+rnn/qkRO8O0xYgRG1oa0RX5fhqNbGIoA4wPS7T5b6m9aE6F2S
7EL3ybf848macykr5yqFvgaLIqH5+6uHEHJR4y6299eDdmFBTrPVuZJZW6Zfm6qfAWai
fvz6hBV/ZgS4+QR/SYlLDck6E8U/w6kW4sWhBspNXt7/4Id+BmNgNSJ9fXuRXQueVH2/
KG520H29ZNPnb2sCHWYT003EYr3Z7e2r6+jiK8LvunfIMt/Y1HpVcbTpSBEdt8NpmJOo
H0nw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792781347; x=1793386147;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=oYpPZkbvFVRq54hoF/djzRx4r809Ew4WV/JELCIsqgI=;
b=o+jHbO6I+00lrHIyBSOeE855kzQFnBn0MaGKLFQ/fiGiZxnXi5ufEHJHxGuTztC9qC
JWoAfqphYu99E3tVOgnTYF5xZLWt3qc2z1Mk1Mqi5cKcIM23Pi7hX+AstOrHxRZMPJtq
34WDZ+3C6yBNEbvcE/v/BqNEVqf//XD/YkzrWVlonkfeW4vjL30Rv6hPYYI4QAXr2jEq
yKal2wpYrRSrnlUrQKBP71GI3sYT1lmPNfrdIDmfY60Rm8nIQznElyqHzncoDoCLpRkJ
k+wMRtkDkMFG/RQi50CIaOubH6OAeOYBYwG1JWj4UB2DXyoSvZ2fZw/KbyNU1B8yN1za
SzEA==
X-Forwarded-Encrypted: i=1; AKwUvBy2U27KjDabkEfXb6F6VegYdHG8PZmBSdDmpTOpwutV5KEalkN6hpS/iy5wzdl9glxj544=@vger.kernel.org
X-Gm-Message-State: AFq9FYIGNYXCbnVu1tcH8JaVi3G1soLOqWxTgufe2dQPb8OPniQl8YyB
o/E7fvAhoLTPysez/JQ9kErLrONuStnCyhucFnFz0F7vaSMv/QKxkoGNiux6hWVtATPbePu0dTt
svylouBrl+FRYZHLO9CsIiF13pmxHX74=
X-Gm-Gg: AYBFou1COMbDa7bhd9t5x/RKqj42QansFdyuF671sa8lW5FLW08K6hNMG0YBdI///o9
OJau9M5JazIRWqS4ptk0qpjiXv6oB2VfEd6k1uE7/U/ZYlTOAZIf7SEhr5chZHKgnNo1IEu8eCz
67O9oTg15QrxFcanEi7pR8ylg+dFMml0o3ayXPH/hdYLffct+Vi/MsZMXpfm1EMzNsGpfNg0cO8
yAg1EMeUM1JCos4CyNre89+v67kqG7yW9VpLpMJ3GisoPlc3Djt2JQJnXdcborDb/ZJhHLMgfHA
Tzjl58vIqdbD6vpDmHNKLbCQyxqWUmEesftZUPRPRMPd78C0yBIwToY57urtyaD83cu6YlKzRCd
X1pDZWxOiJdwJ5dZI3mVfikje1QMkMWw15JZ6
X-Received: by 2002:a05:6402:898:b0:6b1:e072:763b with SMTP id
4fb4d7f45d1cf-6b442fb847dmr60511a12.5.1792781347191; Fri, 23 Oct 2026
11:49:07 -0700 (PDT)
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
X-In-Reply-To: <xmqqld7o71ot.fsf@gitster.g>
X-Gm-Features: AclHuK_n62uLy45PrwPixbiKa_d6eeFaO0jkT2NR5aupz3u4kAgqOBXQvEPLgv8
X-Cc: Harald Nordgren via GitGitGadget <gitgitgadget@gmail.com>, git@vger.kernel.org,
Phillip Wood <phillip.wood123@gmail.com>,
Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>