🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #2432

Re: [PATCH v2] doc: git-diff: rewrite EXAMPLES section

#2432
From: Tuomas Ahola
Date: Thu, 05 Nov 2026 17:23
14 lines
10036 bytes
"Julia Evans via GitGitGadget" <gitgitgadget@gmail.com> wrote:

>  --------
>  [synopsis]
>  git diff [<options>] [<commit>] [--] [<path>...]
> -git diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>...]
> +git diff [<options>] --staged [--merge-base] [<commit>] [--] [<path>...]
>  git diff [<options>] [--merge-base] <commit> [<commit>...] <commit> [--] [<path>...]
>  git diff [<options>] <commit>...<commit> [--] [<path>...]
>  git diff [<options>] <blob> <blob>

Sorry, that breaks the test number 0450.218.  Please change the synopsis of
"git diff -h" as well.
Technical Details
Message-ID: <20261105172358.HxmMJ%taahol@utu.fi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74570-linux-kernel-git=dewy.ru
References: <pull.2293.git.1793720007182.gitgitgadget@gmail.com> <pull.2293.v2.git.1793893217889.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-74570-linux-kernel-git=dewy.ru
From: taahol@utu.fi (Tuomas Ahola)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v2] doc: git-diff: rewrite EXAMPLES section
Date: Thu, 5 Nov 2026 19:23:58 +0200
Organization: Usenet Network
Message-ID: <20261105172358.HxmMJ%taahol@utu.fi>
References: <pull.2293.git.1793720007182.gitgitgadget@gmail.com>
 <pull.2293.v2.git.1793893217889.gitgitgadget@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: usenet.network;
	logging-data="3692360"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:6Tq4Bl8dtqoONwlqPOUfpf6SFSY= sha256:azQNtl9cXiVXISD52zf7XejjEdkJW2zTUp6w4u9suL8=
	sha1:eFOB10QwRHJov2xMDd1+/8Xg36c= sha256:JQRbXUFgM6ruSpx1nSYaauKgvojM9JUgXcQHM0AC0a4=
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 92500112FF5; Thu,  5 Nov 2026 20:39:03 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.05
X-Spam-Status: No, score=-2.05 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, 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, UNPARSEABLE_RELAY=0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=utu.fi
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 eqo8YsJgg_Al;
	Thu,  5 Nov 2026 20:39:00 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=git+bounces-74570-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=utu.fi
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 7B499113016; Thu,  5 Nov 2026 20:38:52 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id C263460FC06; Thu,  5 Nov 2026 17:26:33 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
	t=1793899449;
	b=Zb92oNhd802EubRYn8D61WPTmYRWskSPAnXffgsWm6BrsEyiKiqTBqDeCat4LUZBs1Ws
	 TZeiA/U7XQGPZ10UMBCEte0WsKmS9isySdZ6E3sg3M0ozeOvzl/G6dvqvJKj/WMtWCwLA
	 LRfkv8F7UkIGQwEXcLfxWkjfbdL+oU7MbDGWn9QTKFDC7u8YtYF3MPCEIy9jr0GcGaszr
	 KuoPZurbNtOvVWuadwULqogbrT+lcizpw8No1MwATwKSs8IyZJ8/Ii9muSVoYBrbhZblf
	 rt27gSJoWSuQp4bjJzs1ioiGI6OU2VRkMmCds/Uw8vg51Ox4LgMzV2QVhIlubbXzHgQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793899449;
	h=X-Original-To:Received:DMARC-Filter:Received:Received:Received:
	 Received:Date:From:To:CC:Subject:Message-ID:In-Reply-To:References:
	 User-Agent:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 X-ClientProxiedBy:X-FEAS-BEC-Info:X-FEAS-Client-IP:
	 X-FE-Last-Public-Client-IP:X-FE-Policy-ID:X-FE-Hostname:
	 DKIM-Signature;
	bh=vlIbSFgw9bhYDzMiyisV+OXcssbTW7aJ8wrXVoRSB3Y=;
	b=rMw5IE5Y7fAU8KEA1PxGX565zd/xhYKzK8+/Yx9iJ0jcb0XrEcqPTjQ/ctIZxXE8BYxa
	 BGgypiDp9Ypbtbdck+v9mF+0H2mK7i1WxWrOEI9AhZMXDFPGsqbURZSkuBw1qT9s1uR8G
	 yBzZLJHe4wWX6G/McCRbkmGuZNTu33ROEn6PIcjZZO2H6dALn2L1ShOQxE5K6BUz+x3AR
	 emAjIqVF5tIWUWwejI/k3AzMyL4Fs/YfSKLXgpHlLHZ+8MXWzdtGeS6UWJW6JVdUxsf4U
	 3OvgU+xytQ/cT7hQzJNRgdnQz63CdqdnGCiux+H5DHzabFAfStmWSoA8IhKY8+yL0ag==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b=OjmC49GK;
	dmarc=pass header.from=utu.fi;
	spf=pass smtp.mailfrom=utu.fi;
	arc=fail 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 A88B1606D82F;
	Thu,  5 Nov 2026 17:24:09 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b=OjmC49GK
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=130.232.247.4
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793899448;
	b=utpxVJYjpAK/hS8RK8abrR3KwbecRqZwbSW9+n+df3UjgB4XPqSk2mbL9G9rOP1Ln4OP
	 64VsZxEkL3sHRDx7MOElJpZzeX/kZCsebI//fSx+Gs1HMOGwxT481Sk7gt8yg5p6ux5S4
	 HRbT8qw3/HVLEEgD/FofyBV23RZytrBmEMYHZsxuKCcYOqCv7sqD8hlJQ8hG6mtj6rNEH
	 +nHtoV9JHnqcOs6F9FCBEtpkWTgMMoviWP8zBAbqRYCX6YLDY0KYaFvQ2CB4lXUhmn8wn
	 tMgPlrn2YIIq8DZu9Z6cSDmFQFmhBAm8JUA4jUDlBYJSOVdVDqZJCcZ/Msx/I5QdWKQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793899448;
	h=DMARC-Filter:Received:Received:Received:Received:Date:From:To:CC:
	 Subject:Message-ID:In-Reply-To:References:User-Agent:MIME-Version:
	 Content-Type:X-Originating-IP:X-ClientProxiedBy:X-FEAS-BEC-Info:
	 X-FEAS-Client-IP:X-FE-Last-Public-Client-IP:X-FE-Policy-ID:
	 X-FE-Hostname:DKIM-Signature;
	bh=vlIbSFgw9bhYDzMiyisV+OXcssbTW7aJ8wrXVoRSB3Y=;
	b=0KeNZYcT4C/llLl1yow3D0n5QY12Ubjml4DB+Ac+G90ECyu6vtFI8ama2YLOtfuqbbLB
	 ljFRffRjeiuMRJCa6oC5GFdgm46Wk++gjX+aGS8zxSEf73GLMzwnGPPA2xp3zMzBr1FrF
	 7zlPi4e22bE9IsSzNnPl0G92NBRuEiCdvqTFhN4aue5v7uwJmb1oTGwFkp+EpyziQvCcL
	 G8W06hBeJs6FRO4M5M9UKWFY7ZbNlq4f3S2QbOz6CmDkqyR9ak7Ary1pf3o7PUSYcwvMT
	 TnNAJsDfgrAzJ/xRIavsytjs2wI1Hsonc30WhtwL8hYgqc4gxJbgLH3AdJbKJpRBCug==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=utu.fi;
	spf=pass smtp.mailfrom=utu.fi;
	dkim=pass header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b=OjmC49GK;
	arc=none smtp.remote-ip=130.232.247.4
X-Received: from fortymile.utu.fi (fortymile.utu.fi [130.232.247.4])
	(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 AE400606D810
	for <git@vger.kernel.org>; Thu,  5 Nov 2026 17:24:05 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AE400606D810
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=utu.fi
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=utu.fi
X-Received: from smtp-03.utu.fi (smtp-03.utu.fi [130.232.207.30])
	by fortymile.utu.fi  with ESMTPS id 6A5HNxHT019432-6A5HNxHV019432
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO);
	Thu, 5 Nov 2026 19:23:59 +0200
X-Received: from ex19-06.utu.fi ([130.232.247.46])
	by smtp-03.utu.fi with esmtps  (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
	(Exim 4.95)
	(envelope-from <taahol@utu.fi>)
	id 1xP1Bv-005B6g-Gy;
	Thu, 05 Nov 2026 19:23:59 +0200
X-Received: from localhost (86.50.95.90) by ex19-06.utu.fi (130.232.247.46) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Thu, 5 Nov
 2026 19:23:59 +0200
X-Received: from localhost (localhost [local])
	by localhost (OpenSMTPD) with ESMTPA id e5a0eeb2;
	Thu, 5 Nov 2026 17:23:58 +0000 (UTC)
X-CC: <git@vger.kernel.org>, "D. Ben Knoble" <ben.knoble@gmail.com>, Julia Evans
	<julia@jvns.ca>
X-In-Reply-To: <pull.2293.v2.git.1793893217889.gitgitgadget@gmail.com>
X-User-Agent: s-nail v14.9.22
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-ClientProxiedBy: ex19-10.utu.fi (130.232.247.50) To ex19-06.utu.fi
 (130.232.247.46)
X-FEAS-BEC-Info: WlpIGw0aAQkEARIJHAEHBlJSCRoLAAEeDUhZUEhYSFhIWkhZXkguLT4lWFxYWFhYWFBeUVxfSFhISFlbSBwJCQAHBCgdHB1GDgFIWUhaWkgPARwPARwPCQwPDRwoDwUJ
 AQRGCwcFSFhIWkhZXEhZW1hGWltaRlpYX0ZbWEhQSFhIWEhbSFhIWEhYSFpYSAoNBkYDBgcKBA0oDwUJAQRGCwcFSFhIWVFIDwEcKB4PDRpGAw0aBg0ERgcaD0hYSFlb
 SAIdBAEJKAIeBhtGCwlIWA==
X-FEAS-Client-IP: 130.232.207.30
X-FE-Last-Public-Client-IP: 130.232.207.30
X-FE-Policy-ID: 3:5:2:SYSTEM
X-FE-Hostname: fortymile.utu.fi
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=utu.fi; s=out-utu-v3; c=relaxed/relaxed;
 h=date:from:to:cc:subject:message-id:references:mime-version:content-type;
 bh=vlIbSFgw9bhYDzMiyisV+OXcssbTW7aJ8wrXVoRSB3Y=;
 b=OjmC49GKJhLGzOY83Ht7OW7ASAp3fivwhBp5nwBD9wotvW5FNRCtHcTS1OzjoXBkPptcQG5uoP/O
	EeJcpd4XRyW29oO0S4pLDdIcnQgG7a3xd0li3hVo/8QtjcSsCj7sCxnWYRqmXm4ulzpokcGF/BS8
	tr02r3ISI4kp+it7AKE6FhCs+10fNZ2buNLIy8oNCFSBXEDUmgKh4BYNrL2khFHuPgzst7KLBlq6
	F3a5i5uoWf6xspjbvjbWTKHW8XsCRlhYHBG+kuCpqAPsR5Z3WpGbXDnV2LrVmyChOOm62mliWExA
	e478HdEhBKjyBkb4SmoacIlsqZMQePKMbZzU6A==