🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #564

Re: [PATCH] t0081: modernize the code testing whether a file exists

#564
From: Shashank S
Date: Thu, 15 Oct 2026 07:02
16 lines
9760 bytes
On Thu, 15 Oct 2026 at 03:17, Junio C Hamano <gitster@pobox.com> wrote:
>
> Usman Akinyemi <usmanakinyemi202@gmail.com> writes:
>
> >> From: Shashank <shashu8660@gmail.com>

> Since many candidates are working on similar microprojects (which is
> fine) and making the same mistakes (which is expected), perhaps mentors
> should tell them to read the review exchanges on other candidates'
> patches and learn from them, instead of or in addition to giving the
> same advice repeatedly.

thank you for the explanation and the review , from now on i will go
through the other candidates patches and look in to them and  mentor
reviews in them and learn from that
Technical Details
Message-ID: <CANHmUQR7TJ7VQJVnxMpJ3KNL5DLoMcJFR_jcg_64Vn31EVgJLQ@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-72103-linux-kernel-git=dewy.ru
References: <pull.2254.git.1791962806807.gitgitgadget@gmail.com> <CAPSxiM9-F-1XKvWeEnBk=_FyKyev5pfnid4fiN-OjLYLnCTWVw@mail.gmail.com> <xmqqzewgosyw.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-72103-linux-kernel-git=dewy.ru
From: shashu8660@gmail.com (Shashank S)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH] t0081: modernize the code testing whether a file exists
Date: Thu, 15 Oct 2026 12:32:37 +0530
Organization: Usenet Network
Message-ID: <CANHmUQR7TJ7VQJVnxMpJ3KNL5DLoMcJFR_jcg_64Vn31EVgJLQ@mail.gmail.com>
References: <pull.2254.git.1791962806807.gitgitgadget@gmail.com>
 <CAPSxiM9-F-1XKvWeEnBk=_FyKyev5pfnid4fiN-OjLYLnCTWVw@mail.gmail.com> <xmqqzewgosyw.fsf@gitster.g>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: usenet.network;
	logging-data="2469545"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ibl/D2P5dnZ/QFOx73wlG63q8wE= sha256:ghuWH/9FjTTO0nRHBk9HfFP/Ge3Imgg2lid0X2feg9w=
	sha1:ZHdMNhRu0zSH1z4hBLqs4ZckvCI= sha256:hBA2k9nwu6CJSwbjHV+jnWLbL5m0ScdZRgjJQriThlo=
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 26B7911025A; Thu, 15 Oct 2026 10:03:39 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: 0.352
X-Spam-Status: No, score=0.352 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.25,
	MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=no 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 ChOscX5qzR_Y;
	Thu, 15 Oct 2026 10:03:32 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=git+bounces-72103-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 1B8B5110255; Thu, 15 Oct 2026 10:03:23 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by tor.lore.kernel.org (Postfix) with ESMTP id 4AF923C2E5; Thu, 15 Oct 2026 07:03:00 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id A17EA4A2A47;
	Thu, 15 Oct 2026 07:02:56 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Mm/Eub0g"
X-Received: from mail-vk1-f176.google.com (mail-vk1-f176.google.com [209.85.221.176])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id C024249480B
	for <git@vger.kernel.org>; Thu, 15 Oct 2026 07:02:49 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=209.85.221.176
X-ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792047774; cv=pass; b=HiciE07W5XfQTiRQ9x47nsycu833dj6dLuAmlnWgMuaMW3ftkv1nX4YYZNxc4rsuXy/xtv6YCMqLgOXjno+rttJhlKWkz4Sgk3OTUcJE1vrQVoW3rNKn3po/ONeJsRzzrDC1DML99N3ylLTjAOmZxDmhzJFgkbo9E53kvH8t9Wg=
X-ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792047774; c=relaxed/simple;
	bh=uWdo1dlc+QYlC5/ArC+eCkRr5tVDUliyhws7E9EbUUM=;
	h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:
	 To:Cc:Content-Type; b=MtQZZ2tD96T6LnOgV2hRzcepprbONjTvaNFjKdDUXooyZ9AkicYvH5i0YtYlFeyUgLhQn3KWtyaz98uP+/tAxiMrZWZ3CTgTi3lz5I8euTEVJN0Fcc+TakgDUP9jqH1R5AD68lMHrfie2ZRWcJhKD3ZiEkPGaydC2MwURiJ5LtM=
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Mm/Eub0g; arc=pass smtp.client-ip=209.85.221.176
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-vk1-f176.google.com with SMTP id 71dfb90a1353d-5ea63f01606so121923e0c.1
        for <git@vger.kernel.org>; Thu, 15 Oct 2026 00:02:49 -0700 (PDT)
X-ARC-Seal: i=1; a=rsa-sha256; t=1792047768; cv=none;
        d=google.com; s=arc-20260327;
        b=YALOehOWeW9IxWZytJSTZkZVywd15mEBZMAyqcWz/M87m0RdqDTxjKQCd7MRrNy5Sr
         XfJQAJJ6PyNu+HaZRJAYOaN4ucVHMCon1Uec0/xgAnG6Ja6z/h7Zcna51evQHBsC/YIn
         eBUImtQM05o3QjV6RZ0GsePf/2nlpi941j2f5U89JPIcsT2EVuvWxidQgMhAaZSfXNS6
         5zulgozNCJ4HO56MWrZncgqRwmlGhScIXXfZW2l3zAnokOHRwN/LE7BG/6kX3zZlPkRf
         QjdQ45+7cbVZUsKOChTpaxpm9yfYenXxQ20/XKg2+sMDlQDlGAQtbRjG0rblq2YIPziO
         918w==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:dkim-signature;
        bh=5ImeTwfSRWzgVjk4g2S09ldxM5TelpNvUtxrV/OVwPc=;
        fh=hQQG8E13DbOPT8+z3ynd+cYIwOJpJsi3zJnzB+tANps=;
        b=gOGNTl31e/tNdHeKnYWkQ15rw2QRqeoMrl6ABIHKL3+OCh667kO3efbgtFNBG/Lcj0
         B2mzngMwyqfCVJY74OIBn9DspUZa0ekkcMGyMsYRAwCnaAF5HuMY4BIqAn5vPxuEWNG4
         NyxHCJ5WmqGJCGiJeB9YW5gchacnk0/PwNujcxKLWlkJHBiS2m2p8p3jKhDeo6G2PxQf
         sskElKING9xV6gDcvrQ4sj2KmlsAwfRJL/iz/ifABpa3ak5BB8k6ZNU1+GpPvQvEnLNw
         TA5NucGQ9j2HSgefW7rE55fNSiV2Q1SemoRQUh5ev7xzUPYY7RyGj2OKz5B5iqO14GdW
         nXTg==;
        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=1792047768; x=1792652568; darn=vger.kernel.org;
        h=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=5ImeTwfSRWzgVjk4g2S09ldxM5TelpNvUtxrV/OVwPc=;
        b=Mm/Eub0g3qnfVYnu+QfOLEeHtpmLvdObyT5TEapDrLp/ARqCACmfnFpmaXbMuNiYku
         w076r5xRSbFuBHV6zB5HCs2+NA0aLaN6fIYXpArdiuXtCoh1UA8H1DOYPBOecuKnFD+r
         6e0KFK5C40PN2fswrxigM35A/H8oeD2/XsWW2cvNwsz7nV3HPoZE8mIVMq0jrxlN5Nci
         Kn4hqF0uUYyQXJStu/1sI+iWVDfIbxoz2fjMShJ0iGfg3IBt+IYujedmlI87K+DrurO4
         zaTinVexESD72/BPqQrzhldTzJXzh2XeTSH5oBeVTJClsJ3SIohyGgQ2r4knWfM30kBw
         HZLg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792047768; x=1792652568;
        h=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=5ImeTwfSRWzgVjk4g2S09ldxM5TelpNvUtxrV/OVwPc=;
        b=B7rPOqgPKaHlNN/0zf3LZGzncvUMc6Y9rofzuhpKJpVCY08lqjR132oQy26NTFHmTR
         IWY0pH2vJXweeTprKpIrmUlX26TvKz3Ys90cOXRnBaKwoFGbTUoijawkRl9YJYm597Fu
         dzmcslB5c208BhsNf+kw00PB6gbowCdE1MEo3MFhjTpLlZhbLWl6PlM1UWj7buNBcmOx
         YYFgs6qagoS2FR2BmtZAyozFqf59pQWkEetFDeSqmXGx5KfH7Tnh5t+/To/AuZFyZhbU
         X3NOs1TxZNEssL0TDFlDwmFnCtPuBtYoZ2nGFA0Y7fOsp8kJ+z9MoBQiIVZW3F4CrkO/
         fyHg==
X-Forwarded-Encrypted: i=1; AKwUvBzyqJMa4TSpWhgH79Ts7Zpr5woNuOoPlySNShDn1maFUxl0qQzQw/VnN55ILBlnvLfd47s=@vger.kernel.org
X-Gm-Message-State: AFq9FYI6YTNVE0icN53oJ1Qt9G8gXMk7Kyfw2bfeN8NrKdgjJZNd1Xkz
	epjU4gHhKV/+7uagjeKfBxjet48nXJ59ticprW8qHY/UkCIzaypVL+W8XrqCwBZ5C6NKR5gqSKt
	HsBZKSzMrvPpj1ldRKp0CMOKOxYi7Q+0=
X-Gm-Gg: AYBFou0VFUbbO4lg2fuw0cHbfFbnFwTK+jMZo30AxIdQqqZQ6dXMPbHlhCdoFOQpPMV
	58abfHWeMNqpJw2fiLikkjknTZZyS0xAk1bw8tuTlVk1VDJ7iemWOuctOqXgL65ply0NGOIjzI1
	HUim3ACzNn1IA5a7FmoszO7lEzvnWoXaZd9Yz69YUltQiYSfAkvXfjEFvtI7mu0Ue6iiF+nbRYg
	R1Nlhes8ivVVF8izVfCfhTOA3YwG73nDy6rrb7Mkb7Q78Q54GdKPVM3VSzJswSsmhO48MWp5CO/
	6pVj02WnYFcfijHa6tHuVgt8j71FKsmJAxFse6c8wo3AO+DBr43C3Z9z
X-Received: by 2002:a05:6102:f8b:b0:7a7:5355:7fb6 with SMTP id
 ada2fe7eead31-7cb3737be51mr3791131137.24.1792047768349; Thu, 15 Oct 2026
 00:02:48 -0700 (PDT)
X-Precedence: bulk
X-Mailing-List: git@vger.kernel.org
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-In-Reply-To: <xmqqzewgosyw.fsf@gitster.g>
X-Gm-Features: AclHuK8_fDbqHLtcO2Nv-sBrhxZHcd8PcjD49j8_oKPX_fttWvofYY_VsZFV7kM
X-Cc: Usman Akinyemi <usmanakinyemi202@gmail.com>, 
	Shashank S via GitGitGadget <gitgitgadget@gmail.com>, git@vger.kernel.org, 
	Kaartic Sivaraam <kaartic.sivaraam@gmail.com>, Christian Couder <christian.couder@gmail.com>, 
	Siddharth Asthana <siddharthasthana31@gmail.com>