🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #2918

Re: [PATCH v4] archive: remove USE_THE_REPOSITORY_VARIABLE from archival modules

#2918
From: Srujith Poojary
Date: Wed, 11 Nov 2026 12:24
74 lines
14567 bytes
On Wed, Nov 11, 2026 at 4:38 PM Karthik Nayak <karthik.188@gmail.com> wrote:
>
> "Srujith A Poojary via GitGitGadget" <gitgitgadget@gmail.com> writes:
>
> > From: Srujith A Poojary <poojarysrujith@gmail.com>
> >
> > Refactor archive-tar.c and builtin/archive.c to clean up archiver
> > initialization order and header dependencies.
> >
>
> Please read the 'describe-changes' section of the
> Documentation/SubmittingPatches. This message here doesn't explain
> anything.
>
> [snip]
>
> >  archive-tar.c | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git a/archive-tar.c b/archive-tar.c
> > index a1c66024d4..1b376d048a 100644
> > --- a/archive-tar.c
> > +++ b/archive-tar.c
> > @@ -531,11 +531,15 @@ void init_tar_archiver(void)
> >       int i;
> >       register_archiver(&tar_archiver);
> >
> > +     /* Set built-in defaults first so user config can override them */
> >       tar_filter_config("tar.tgz.command", internal_gzip_command, NULL);
> >       tar_filter_config("tar.tgz.remote", "true", NULL);
> >       tar_filter_config("tar.tar.gz.command", internal_gzip_command, NULL);
> >       tar_filter_config("tar.tar.gz.remote", "true", NULL);
> > +
> > +     /* Load repository config so user settings override the defaults above */
> >       repo_config(the_repository, git_tar_config, NULL);
> > +
> >       for (i = 0; i < nr_tar_filters; i++) {
> >               /* omit any filters that never had a command configured */
> >               if (tar_filters[i]->filter_command)
> >
> > base-commit: 6de20f6092dcf9bdb1c8efe03db4b70c82b423dd
> > --
> > gitgitgadget
>
> So the code only adds two comments? Which isn't what the message
> suggested at all.
>
> Taking a step back and reading your previous commits and messages seems
> like we're talking to an AI model. I'll refrain from reviewing further.
>
> Thanks,
> Karthik

Hi Karthik, Hi Junio,

Thank you for catching this. You are completely right—the previous
commit message described refactoring that was not reflected in the
actual diff, which caused a clear mismatch between the message and the
code.
I apologize for the confusion and for sending automated-sounding
responses. As an Outreachy applicant, I am still learning the Git
upstream review process and workflow.
I have amended the commit message to accurately describe the exact
changes in the diff and force-pushed the updated commit.

Best regards,
Srujith A Poojary
Technical Details
Message-ID: <CABh_KWg+v7Pme=7n6_MPjxBOVpX9BHbajKB10cCASOo0p1uNKA@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!news-lax.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-75185-linux-kernel-git=dewy.ru
References: <pull.2305.git.1794251100.gitgitgadget@gmail.com> <pull.2305.v4.git.1794385537870.gitgitgadget@gmail.com> <CAOLa=ZT7xKFf5_Q5hBfstyeXfTA=TDfzS-Z7mig18rZLgLKefw@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.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-75185-linux-kernel-git=dewy.ru
From: poojarysrujith@gmail.com (Srujith Poojary)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v4] archive: remove USE_THE_REPOSITORY_VARIABLE from
 archival modules
Date: Wed, 11 Nov 2026 17:54:00 +0530
Organization: Usenet Network
Message-ID: <CABh_KWg+v7Pme=7n6_MPjxBOVpX9BHbajKB10cCASOo0p1uNKA@mail.gmail.com>
References: <pull.2305.git.1794251100.gitgitgadget@gmail.com>
 <pull.2305.v4.git.1794385537870.gitgitgadget@gmail.com> <CAOLa=ZT7xKFf5_Q5hBfstyeXfTA=TDfzS-Z7mig18rZLgLKefw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="852654"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:beYxb49WHhqzQHbezT1a1qI3QNI= sha256:C5tH1UBwchwOPDCSEUxHqXL6gEsw6VSMu2A9DQW5zzs=
	sha1:Et2ZZKNmp/wIdni7xm5MhIFhGX8= sha256:ljmf5mLKgLW5YaDC+6CEwR+kjVodpURBi1N5reJHKsE=
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 9A37F113EE5; Wed, 11 Nov 2026 15:42:38 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.049
X-Spam-Status: No, score=-2.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, FORGED_GMAIL_RCVD=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 9tRl3kOhWdsy;
	Wed, 11 Nov 2026 15:42:35 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-75185-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 BE884113EE6; Wed, 11 Nov 2026 15:42:26 +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 C331C165A8B; Wed, 11 Nov 2026 12:24:25 +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=1794399857;
	b=MPqAMe08DK2+qctupB+nE1Do5enPkga07tbLvGGqN6EVWhuHPmRRlR8PwDere6Tg41kL
	 SLz5g8HtUG55GO5waWHAypJx8aRPKMdcnQnzJ5SWa6TJH+x3iKrbL1f6OMo5yG6kZjPdb
	 DpI4pQpqtNx2rFYX4BF9dIU1O5021ahUL3VyPx2DOtgRipIlHwubt47nRW3VbEpO9s8ln
	 fN52Ic6XBn9xenajP5HLMQd0A4l7NL15I0ED+24X4CI5Y/k2wr/DvJAK1bOJfYZAyb1qp
	 S2d7RF5ciC2s4TrZHYCV+eypA3unc+cna8cs0vG/bH2imcC+hJepWkAyTnjfte5HLXg==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794399857;
	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=4IMPANsr1Anfpg/nr4iPsTOtbV8BZeqgBUEQsR3Hoec=;
	b=KtJn8Wxj80pBR1JAiLTvcsXXkm+E8XdDLwjyg7d0EUBxdqSq7xU/w9LpHlLtig1SIj5i
	 Y2ik+4n1KCJO82++WRvJFCCWQNSPvof0dK+ec2sgWpPNZlOCWaw5BVTmfIm4if/siOqr4
	 kK0by3WFR4UlLdEfOZv6gkiz9DPnn+OYayqWvVgFSdhWEg5oR3K0kdfSHRkZ8j3fLBCPM
	 3f9FXwxI0Gv0aXmjxP6ilthVgtkjmZq0sfB9jF//UBNzThpKdlaq/o+b+XxlvPRINGFl9
	 jTbZ7+N4NxzOO1Bvtow+Zs2wSsck8XSnMFsSC2W7oyxcI7yv3IM4UsTs/YzAxMssl2Q==
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=igA+e+J+;
	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 09E30606A333;
	Wed, 11 Nov 2026 12:24:17 +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=igA+e+J+
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.160.180
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794399856;
	b=JjYcj03kttYuI/ISJkJtsljV14HCw6y3ulJVsbVPmKUFhK3+MBZwXxogY2LNQVwNBKeF
	 OP+C6/XL39qRcYUKhYDcqYU8qrSXQh4B9obzkvXGrfEU0b3tyGTD+bXjhpYMgtSpL/vvQ
	 stARV60+1MBUroIWvYy3Hqs1eLZT4qZC+3X5wFJmt/+8RtngLDtQJQPCqjShBpRPbG4X9
	 mPaYlXcRwLreb08Z8XjBjgjQM+zKJwhF4TplPFyBBHFVu3To260U2gNjMTfxC4yTuotky
	 elLy3MLg2iy+UefF1KNRjP4EgQ3JyYOfTCZ8oI6I4FXdfejLITyIjiabhqUwa4nGzMg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794399856;
	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=4IMPANsr1Anfpg/nr4iPsTOtbV8BZeqgBUEQsR3Hoec=;
	b=Z3Dyc+lla3btfH6KPHiQG4Cqp/hIHU7goJGlHtn6KttPCGYeRdRpcAjX19ywnFouI81/
	 7iF17MCResHtftjXe9RNFxyckUfBXAh0GuYiAAbhW1d1INkfr2f2usJ//4+88pPrKmsz7
	 4gxDz1a1bmTnDRtH/sw/lWqkOGCzpamf2Kt4th1x5noB4KDLxpz8kqpre9hKM1XpoF+EH
	 0m5CLZj2+M3Yx4raI0GKBOr+FxK8uER/3UaunT0zntDFTNwZ5GqavDwHnRMdeEr4yGnWj
	 px7q308fZUTyEY7Zv7EMfdUiqDYcPACGz0IfZMFniF1eduCh3A/4IJkYaul/iDLdozQ==
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=igA+e+J+;
	arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.160.180
X-Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180])
	(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 D0D10606A334
	for <git@vger.kernel.org>; Wed, 11 Nov 2026 12:24:15 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D0D10606A334
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-qt1-f180.google.com with SMTP id d75a77b69052e-5365d26ccbdso37092711cf.0
        for <git@vger.kernel.org>; Wed, 11 Nov 2026 04:24:15 -0800 (PST)
X-ARC-Seal: i=1; a=rsa-sha256; t=1794399855; cv=none;
        d=google.com; s=arc-20260327;
        b=Lo0QHonEpHrg07UBVoEw9ylHdtJdymLDnk0VKFSJP0bRomK9r7mgQ2XWCgzvvWB7IO
         Bzd2sR1kvyL6AtZHJt5H7AMlteLPFWLE7s7MeQMIvEQU8ai0RhwGJLCep+Zt8d55VZSc
         yOf8jDg3QtcOJwXRrmXaaN7/XhYz4q8oKmPpImbl18woxFj+mHl8OYtLwaolGyZ8VLmW
         7GuZVxMTfra+ImmhtI7qNndXEtCuNiQMsTcmIxsyY9bhiJbzKrRPZA8gHBuLN+4wcQ+L
         PWHKJr3ryqGVIujhq8TAgIGgDbcUk/2g8+IuSxLF/lPoXbgKB2A4TJnfUZkXWvEf1xtn
         JRww==
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=4IMPANsr1Anfpg/nr4iPsTOtbV8BZeqgBUEQsR3Hoec=;
        fh=p6jXJH8IKVrQtpskFlO+80Ge4jJ2VqL4fe+j5pdbujI=;
        b=sxPx/BsycyZL6iz6HUFjV7cH+VoVTg3uplzRPk7jnPLCY0E5sb5/6W7apy8yI/CHNh
         RopOC/RYGeVWXXAKwYQTw8XumX1fJNbkDAfk6ed4XGDx37oLYD3Y1cVlx/aVkTT6a6FY
         rUKzY+tZBcKZTU4KE0jBF/T64K+spE/XZfEs0TQ/aVv9NWCKRLWShiQZ8YT0FhwZGVE+
         K9j8whxuLf3GQ7hk1OQGZe5NlOl17yeMmtsXqMBDDoS0Je8GExP5N11aSsXIJroacSG/
         NNFUgzj4jikQAF5DmTi5VNSLg3T1xpYrgmrqoeCW060+poqeZO5lyFYidsdNKGgsm6K+
         +LIA==;
        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=1794399855; x=1795004655; 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=4IMPANsr1Anfpg/nr4iPsTOtbV8BZeqgBUEQsR3Hoec=;
        b=igA+e+J+U1grjTeUSH+BasIdz1USrmU/Dgq3K2wj6UL89Yub0KnkeSwYiwh1kprgVS
         a0cbovhZezSQBfdBnXVfNjqrKN6jNrvMMo2TvtIbKcBkw9sDEdSS0dtLO5unNB9v370m
         SPQcabmAKlNo9iPLjnpMre2LM4YQdr328Wh1khiPhXDwui0kT8qLZHFiIJHJ26/GR6LM
         rvuZpjCk7bI3ZNqcPzvdwW7vz09yasfEg+z+W/bJJJbictRhrMkDZYZdoBWLtLxFR6+w
         +DJMNxyBiTU8jt93LKBUIl7cy5sd9E5H53/UpzXLXskhpt+SqkZOsxB997LwntIPzEu8
         lKlA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1794399855; x=1795004655;
        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=4IMPANsr1Anfpg/nr4iPsTOtbV8BZeqgBUEQsR3Hoec=;
        b=Khj9TT4bRW/MmT/692Cks5ARGQyF/Sn52gkDhiAlO4v7sssVCTgo8+G4A4u0dPWVEM
         PRpGUKJkEjaeVAWzycnJOQQRTA6T3FG9zAOwI91NoHua4o23crsXax7uoeCn9FqKhZL6
         a8yr0yOMLDDlvF6we3q2JBYxw0/thlLTiIht2R6CeuXCeKA5NRs6VXZFfYXnB7ToRxXq
         qirOSywoLE4y7z0DTrZ/cP/TbqJf1P6t2jwUbiKRtQnNKEmi4kdGA5VsnONsTuGgfKnk
         nevdwnc6GWY80CoQFvFQRhDv7+gL0fp01gQsCcFIcotEyrBUsPJBFjYqEr3PslNYQWHB
         rf6Q==
X-Forwarded-Encrypted: i=1; AL+hErHGg8beEQVUayUQTsVZVfdF56Q+4iGrmaKglGE4/EQOaTpxplEMhjYxvIJt1P2r2BMniBo=@vger.kernel.org
X-Gm-Message-State: APuU4Z/RGF76NrRJf1uyaknIheh1sB5cIppM5RRrBUIdbTMcmHcIAWIh
	tbq+7GnyQpqEhaFxuuclKMrWG354Xh9jhIjgWobOQLCP19c2QAqGGCnOQKSkkxjxOjiZB+TDY2p
	7cxQwYW5M0aV36ejjMBuIZ+5hT2mcbVg=
X-Gm-Gg: AYBFou0hs0UkAT7wM25uZ7ZNCkoOFkaoJ1khZ2js8ykSUfPgONcQnRO4OkmSi7DK4TH
	cjep3j2Uj0INOsp2V7xJG2ACQhbkA+yIqtjxKmd3mr8Nx3Gbbv4B0g7bir7rLfPeUq1wTogzkl+
	WJoENh2It640dOSNTuIxeVezYwYfIMw/OOkY47kxfaLJIVV1R6zhegRidie3Q3jf01yEL8Gjvif
	dvG7qsFMo15DgsBYChg5plgiw7be5iA9EoBXHqoVqZBIWqaH75USmVH/fffV4qQ/Ga8VIyqTyxv
	MvjnTYU0nWZ4R1hz6vstcNLv/Hgmp2Ery5zrDsReObrhJEBBm1FOGBNC6UsocxdhQHOFLTtlxfo
	2BFG4o02XmQIpy/BNmUc1nP81LUdKo5TORt8ZSflO6ZNLblA+Zu3Q89aFZ5LtBdcsPyXET3Gzad
	HalPKPJYY7l34tg43Am83Br/05lEBKgefr+ooqsQqCNwMCdf7PQ+RrINwS
X-Received: by 2002:ac8:5ac2:0:b0:53e:35dc:9be6 with SMTP id
 d75a77b69052e-556c1b5ccfdmr31446261cf.62.1794399854698; Wed, 11 Nov 2026
 04:24:14 -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: <CAOLa=ZT7xKFf5_Q5hBfstyeXfTA=TDfzS-Z7mig18rZLgLKefw@mail.gmail.com>
X-Gm-Features: AclHuK-HSebthfpStVRSyBkJZLbGSlfHIaz6eZiML6r9keJzFZjpY_HHaAQZFfs
X-Cc: Srujith A Poojary via GitGitGadget <gitgitgadget@gmail.com>, git@vger.kernel.org