🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #3957

Re: [PATCH v2] push: shell-quote names in suggested push commands

#3957
From: Nahid hasan Sagor
Date: Fri, 27 Nov 2026 05:26
40 lines
13451 bytes
Hi Junio,

I am very sorry about that, I didn't realize the workflow here and
followed my usual GitHub approach by mistake. Thanks for explaining.
I will make sure to finish the discussion first before sending a new
iteration going forward.

On Fri, Nov 27, 2026 at 11:19 AM Junio C Hamano <gitster@pobox.com> wrote:
>
> Nahid hasan Sagor <nahidhasan141400@gmail.com> writes:
>
> > Hi Junio,
> >
> > Thanks for the thorough review. I have just sent v2 addressing all of
> > your points:
> >
> > - Dropped the trailing clause from the commit.
> > - Quoted the entire "HEAD:<short_upstream>" refspec in die_push_simple().
> > - Removed the "die() does not return" notes from the comments.
> > - Quoted remote->name in setup_default_push_refspecs() for
> > message_detached_head_die[].
> > - Simplified the test_when_finished cleanup in t5523-push-upstream.sh
> > and removed the redundant single-branch test.
> >
> > Thanks,
> > MD Nahid Hasan Sagor
>
> It is not considered good manners to send a new iteration before
> first finishing the discussion on the reviews you received on your
> previous iteration.  You respond to reviews, saying "I will fix this
> point", "I think this one is fine as-is because...", and so forth,
> wait for responses to your response, and eventually come to an
> agreement with those in the discussion, so both sides know what the
> next iteration should look like before you start working on it.
>
> Only after finishing all of that do you prepare and send a new
> iteration.
Technical Details
Message-ID: <CABQNq+muQFMr8LJuY8dUosV2AzdXD6a=6759smjgE+yQ8ym4WQ@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76503-linux-kernel-git=dewy.ru
References: <pull.2336.git.1795686173178.gitgitgadget@gmail.com> <pull.2336.v2.git.1795747717319.gitgitgadget@gmail.com> <CABQNq+mBfq5cPL7W31EcWPNJqb+3tfYRpyec4sRb4iD9oPYCbg@mail.gmail.com> <xmqqmrquetqq.fsf@gitster.g>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76503-linux-kernel-git=dewy.ru
From: nahidhasan141400@gmail.com (Nahid hasan Sagor)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v2] push: shell-quote names in suggested push commands
Date: Fri, 27 Nov 2026 11:26:28 +0600
Organization: Usenet Network
Message-ID: <CABQNq+muQFMr8LJuY8dUosV2AzdXD6a=6759smjgE+yQ8ym4WQ@mail.gmail.com>
References: <pull.2336.git.1795686173178.gitgitgadget@gmail.com>
 <pull.2336.v2.git.1795747717319.gitgitgadget@gmail.com> <CABQNq+mBfq5cPL7W31EcWPNJqb+3tfYRpyec4sRb4iD9oPYCbg@mail.gmail.com>
 <xmqqmrquetqq.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="647262"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:sDqxWIrPXxWcz46LsjuRd4LSf9g= sha256:mujJ1Xcygciv3FrXq+p4oDfFzqndXJzWEe3wt1fjstE=
	sha1:EYJdwV3OkI4XVGMuDE3bSUXMjVo= sha256:tzRNJzYCkMFoQz8B2pi1yyGY+9z5YvN84oa/2fOsqEQ=
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 24750125F0D; Fri, 27 Nov 2026 08:26:56 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.949
X-Spam-Status: No, score=-1.949 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, 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.249,
	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 J-iQ9T5kxMMU;
	Fri, 27 Nov 2026 08:26:53 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76503-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 2E4A7125F0C; Fri, 27 Nov 2026 08:26:45 +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 9444435F78; Fri, 27 Nov 2026 05:26:43 +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=1795757203;
	b=h9+oiJY9+p1t0ZZYgh2L6GtXcTM+gSaSKP02L0LcOWsGt8Qhxsb36/AhEh8s85HjTzqb
	 5oEwTMBd7pmpCRW7In4S0WmhkFGB+7D6NMstlKuvsBxTjA6n8NiFCoOFU4LRzGE97S11N
	 Y93inVZj+v8WO+GC21bRq6r2UbT7z3ApTYZJOgVsl2q9fdYfU4EC454x3wVCQ5LPDBLG4
	 3VwCsV0BsJvX5XP5wBBikV82I6lDmdCQbo6XVdj5JrU6jpa1ke75PMp6c82x3nhMz5E2X
	 LZrAQE/Jc5TTHvKcemKLlqv3Qb0aMqkx3+Bl9WWpi3BSsM7g3Dc8rL35KMyy3e+uZzw==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795757203;
	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=zGo/FNYAfyYQSxmNIiZfyI8Mw9KAdWjIjdmXCS0J5ts=;
	b=zXBwYjOIZyxl0ujBi37nIVk3Mzpvk+GNNRhkBXqsEU6GA3zT06agIryf8c6duyWSCcJo
	 7w5vOo2qohppShbMm1yymnU3D1zwtHzNIRvh6i10Z2OfvlTzYUjOjDPhgoSJqJDhGuzD3
	 FBxmrXNFUhYFdXXwzq2rE4jPISbGuIbM1jcdwmjLMIXUSN0t5feGlfLCSELhKJjevZFEc
	 3hk+M+lZxV6xHXMJMylA4OAU7aI8EAQ+cSAmGEFShl8rpr8VdDRRcaUJiSg5tPlvIs1SQ
	 L0L4NGlN67B4cW0eTHRelycq5+VG3gWZJgTgQNGysPQA3Mi7RLNlitCiStnCfVzaqsA==
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=20260707 header.b=O8IaZSvj;
	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 6AF90606A327;
	Fri, 27 Nov 2026 05:26:43 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=O8IaZSvj
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.167.48
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795757202;
	b=HBjsSxyhH3u+3MCzTGAj+gc77gtwIHMxYMyGdA/rngLD8gJrS8CN8wIehdeDZNd0gDhg
	 YhwEXwc7SAnRM1T0/nVSujUxvPDZLKWH1HtAzoteOvRQ6gFI5vtamsDGGWY+De5F2+SYX
	 Mz36f1pN050nCre90DFMBxHFy9cqjQ1zlBHcxO2hV49e4wJ8Q3o98hJypgArwVk3n+MoW
	 3lRtB5seGu2FRX9zQT9KOQEvzzwkauIWifOz9NEybOVNmIANpeFXhnj17xA87MUX8pZoB
	 /msdVfWHyrpXzXelylZt/G6xfAyzB/A/I+k+g90XJNUuL+ChgQB5uwDGeGr/aJuDfKg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795757202;
	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=zGo/FNYAfyYQSxmNIiZfyI8Mw9KAdWjIjdmXCS0J5ts=;
	b=vef3x1LGvdP864d9ffE7ag9PjyH1nhHgeBoF210ETztyrzshrQlQW4ZTwzqszN8WQWmy
	 IfutVNNuzmBrADNUIu7nSg2E8lD5aJtwYqcp0B9ABRF48lvc/HgDplxuIDP/1+mUVYXku
	 JnQjN1cxgh9oRd/OzzsjiZKOREC7EXztbrmBlZsNA1k44/AVYCAT64IP2ACmz2Qp1MSOQ
	 JwT33B6YemA92xqQlPvZ3aJEDCFv0pRaWBd4KFH+fs/czU7l5UvK5jQ7K09NuPZGNZyQZ
	 q8n7M24N9+WRughODX8vDw9Ib5i9LjzCX+qWLboAuIYVH3qdE+LX7IuxQxYNz5ZXgnQ==
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=20260707 header.b=O8IaZSvj;
	arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.167.48
X-Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48])
	(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 3CE9E606A31C
	for <git@vger.kernel.org>; Fri, 27 Nov 2026 05:26:42 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3CE9E606A31C
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-lf1-f48.google.com with SMTP id 2adb3069b0e04-5c0a520df2eso7662930e87.0
        for <git@vger.kernel.org>; Thu, 26 Nov 2026 21:26:41 -0800 (PST)
X-ARC-Seal: i=1; a=rsa-sha256; t=1795757200; cv=none;
        d=google.com; s=arc-20260327;
        b=aMuCgNfmY2nkK+ws+zE5Nr2HRG8EKzoualICslWktcZw3RX20BdAIosRF9damtMZUC
         FTzzF/8PhcnkC+D3P6yW8Hm0m+9/UQx0NavMsDWE8SBJy7RJcqB5V9187aMNwjxLLc/H
         Y1J4ji3z4mTeRt3vxXCeHGDHoPfKeBRnWRWR9YF7VoNmhtMA3YchaoejgPSkEKBugIGx
         guguAxrxTeCAM8UO32GjMoZ/Vrk2qF6doknGLjpq7eH97zcMg4f+tSows3asiJFsr1dn
         wzKfNvlOXeVB5QY00j9FRBhgZWbvm4IgLyRDYBGF009wKDkhEH7sd8CUEulqtjbCwHPm
         HwJA==
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=zGo/FNYAfyYQSxmNIiZfyI8Mw9KAdWjIjdmXCS0J5ts=;
        fh=BqENTY4zqFPsVZkQtz1v5mqP1ruRLlzBD3JACpsT36s=;
        b=LNl+mu/BBrsHvrWL/v379ecETE2w1BFp3vbgAh+30bmhJBUXyxzxbn6Fe3I9P1oOKN
         sg69AVrxsjuwbpCZh+nC5nPGIKfh05bOghEgZVjSopdqFKC+/aY83yW3DoghHHt4euDl
         L4ZSwgzvfEpSaAuxlHeYrma1SciWnZzULzjkdEbrz2QD29PzDXrPeRfPYwMhCRo+CUz2
         FADT5HmiO665NytRUvWNmPf/wo/PrGCr56XD9gJGi4j0o9+gakvK/RBsWX6sUTxu52BK
         TTnahMsE16J51yZMGuZfFNKnBhjhaXywp1fnZ+T1s7tMvPbGp5RwhhPYMhyhYY1c7XR4
         sItA==;
        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=20260707; t=1795757200; x=1796362000; 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=zGo/FNYAfyYQSxmNIiZfyI8Mw9KAdWjIjdmXCS0J5ts=;
        b=O8IaZSvjhI+yPJrJ+w4Ok9ThHnKLSBCBjZ3Y0ZqExOWQlfje0fk8tnTkFy4i/5aA4D
         e+MuJmH5/vexYSMNniFEAzV8cQitJAIteXuNnisfEh/h76keMcAvyU1PjhhyFfvUOk3S
         W17PvvAFHKCz214h2LF/s/squtj0/LbuGGkDyqa3vpOBNFxWbrn+E8aN4sUr7fo7I9KO
         kj/kycItFefOSpKynyIrAlRt9K4P9mLp+7Il/96qiH5+y5DDF3s0A2jqsGhAD1nNa+p9
         95YYAavnhXBORMbubII5R2EoL0gkPD6icVJFLgOFQNqSj52vXLfzpOjK6lm8Sv17UnhM
         RE9w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1795757200; x=1796362000;
        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=zGo/FNYAfyYQSxmNIiZfyI8Mw9KAdWjIjdmXCS0J5ts=;
        b=KxF4kcjDGDYxSicFOjf0qjL7OW+ZUC29t0+J8cnHL2ki3oeLYhY6h9mFCTiPQgeBJy
         ExZ1Bu3LUnz138+f8bgQvOqgjWRbFu+odDyXDm4ns+WAlBrznwAC2v6bGUYN1+3eD4rm
         pj0DVLnAS0+5S40hLkXbjpxykoxJ0xkO9+U+p1f2fPkoRgsSdBsee3/JRUH6u49/R8yK
         NaHtJIb2l6EyMNKxSjEha99P1GDY79CozN4YiPMF4GQFnuK3wH4wkkzXRFycsef1wZfH
         wcSsEusED0GoFPLMLDLkDQ1fjeU0DMliizxEWTXB7qC6ugc9b4PV6L0FBNDjJ3R2V1XM
         o7yA==
X-Forwarded-Encrypted: i=1; AL+hErFfFVGMmFKYn9DIQpYBQ6AleC/eRZNE4xDc8x2yiKPNIvlP3ldwtaQVEXXfyO2wPPZXM20=@vger.kernel.org
X-Gm-Message-State: APuU4Z8ruHNESTna5AdDCB+eHM5dchbztGoY8z0O3NQS+WLHBXSNzZWS
	l10DMMvm2OkbLocHAd7rG+DnWWfKcqngRDDutFC/RfE12ZKKthtoBRUtROOIGbFFIgV+F5lX0FY
	SKfRicTy3R8zAtouKIdU6S1OcXm9Tp7c=
X-Gm-Gg: AZFdTZdojzv1C5xKpKto+aukpxELg66WYrT99bm4hKXbFgG/BHtFVb2N3xq0DhYzNHJ
	sfbhrq7kllIWiLDTsCt/D9DmfxCG/Rt1x9Fh7SSWiCSmw0Lagt4Iw8VUwUA3YlmGLFiolCuJkEj
	eh+ZqO+4MmT94tgvlpGfALH8SS0a1saLPHx44JwKABDTMRJZN6ivU2rKkXo+0xkPa6idOv3Nwlu
	xkOwowGqdx0jSfC7HnAta7VcFuqxbGL30asr3GfH36nf/pbbepZXys4bU8+xUPZV7bz8BSPiBQ4
	1pHPBs1EifSfEqZuvMAw+UmBJLaqa3E/cDyis7lpFDHO7ivTGWfp+R9ICNaEC9iUtgtm5F4TMEO
	KfQoUMEjkKTzH2MwLyNU0rmuCF7VhzZzAm4OBS1w=
X-Received: by 2002:a05:6512:3d0b:b0:5c1:ace3:1313 with SMTP id
 2adb3069b0e04-5c1bc867462mr6572117e87.29.1795757200125; Thu, 26 Nov 2026
 21:26:40 -0800 (PST)
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: <xmqqmrquetqq.fsf@gitster.g>
X-Gm-Features: Aa3M54rHg51W2yAZjL8u6a7fWzosiHzNHBv_cChKcrdjgIvop5U4pj6LddHKetw
X-Cc: Nahid Hasan via GitGitGadget <gitgitgadget@gmail.com>, git@vger.kernel.org