From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.147 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796249875; b=gNh38p1Ac02NA5Lc7SQAN9nk+aRwT+KLm75Svw879e/Nvw93csh2rC3da3UBxsTegwwN a+c+6kF9xXQl/cKzAc17a4QKbqWIU+PWTxZQ70jnZn7+zS/g/qcmCnjwpb2vL7CLNmlTv msHWp0GiJ91T62Z+TBho+sweMmmENePXCNurUjdzEF9SwlS/BYF0yaFWUBETeUVOX+EQe llKVYAPu5Yd96yJ5epwjmfkVE6C1KuCpv/lftMJXODtcn8udsC4QnmFKQV+HeNkVe9Mxh 8MEjSlDZWwbwCs7+rj1i2NHHWeocDOJFEkWoPHL6tCG+1SIPSZzSpFTZdIwEQeG8krA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796249875; h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature: X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance: X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID: Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=ScgPAEs6kxDWhWEVCIWoyZUUIADW+GJxTFkocV1ppHY=; b=RNIly9zlqusHcOvauZzHbEeBgxpHzgMb8/30PMpvaopIWxv+oid6Jsdj+MU+wmxoM98w ZwcWMY2MtzQY7y6pO9wCn3ZgBVOYL7jFieB+YTrT13p518hg3ELZ6lhjQMQnEe1x85wa3 d8z2O1AdMjhSiZc1LYLaUmiXNhP1qAkuyyaD23CQvSuklNF45L/z+gQgUQsDgvwTpbF3C +0W2ZkKruJE4GMD3cGA7JzB/tQBojGOVRycZSQzYJXCG6nmOIfk2t8d6NGWLfuDeIVAK0 X350Tpq3OPVGGyXaPwQ6swllLBclhtgbx+SMglk8JPzGeBXii822SoOz6hztHRrMEkg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=fastmail.com; spf=pass smtp.mailfrom=fastmail.com; dkim=pass header.d=fastmail.com header.i=@fastmail.com header.a=rsa-sha256 header.s=fm3 header.b=le265pKS; dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=JCG+jebK; arc=none smtp.remote-ip=103.168.172.147 Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B54F9606A322 for ; Wed, 2 Dec 2026 22:17:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B54F9606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=fastmail.com header.i=@fastmail.com header.a=rsa-sha256 header.s=fm3 header.b=le265pKS; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=JCG+jebK Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id D7947EC0101 for ; Wed, 2 Dec 2026 17:17:53 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Wed, 02 Dec 2026 17:17:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1796249873; x=1796336273; bh=ScgPAEs6kxDWhWEVCIWoyZUUIADW+GJxTFkocV1ppHY=; b= le265pKSOH7b0xbT7tnw2Zouh34qZdjoxMJCH854Ad8+mtLH6wzNyarjEot909ww fQrQdSzv/VdSopI/z131eZWApnDjTWZaXGB+3aL9jrQkpsJa5dcxY+ICtLg/qiVu 7TRlNM7G5mL32UL0xjI0gydFMSMZ6E3oy3u6O4UkV+ChSqenqlfGAUUtP8Ks3bYw GMifH5Kid3xiqUEfC7UEtsNE+u1l4TJHwZ40kSAVmx+iGvx3Wxz2U5B/kysNJyZv deweDjNX1mJOCHpunuRJ3HwTNQd1etugUDxZFToAQlGyp4IPdJb5WQMWJP2XNhld VtLzZRdnel2bnAA/MBnjbg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1796249873; x= 1796336273; bh=ScgPAEs6kxDWhWEVCIWoyZUUIADW+GJxTFkocV1ppHY=; b=J CG+jebKE+Nvt1Df7iJZ3zb5M79UgyS4Dr5QLjXNRiOlIPRxYj21ljXUoW9EiemT2 nk5G4Ap8KVM87Gdp/PW0k0oM/2LFgebN11nn7rouwjBoxxeRlv93izatyK7jP5y4 I6Kpx0Qjt6aRPwkf4/TE3LlG6lrDDkxo7CkvAMdjIytYlhfGHLxzibqcAzJPa/J8 3VEtROSwXc1Mej2C76J7Usgbr2AcGApQQlqINQxfeFhYBMaXUYgP/65OqocdzJ2g 5P/afngL/9ZuDU6tERZWd3Zo/px8FMjjaF0j4EiPJmM3Q+ooEcfqk5uwd3Mho0xO eD/Ga/399ikxiKcUv9qFQ== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=sign d=fastmail.com a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1796249873; d=fastmail.com; mf=PGtyaXN0b2ZmZXJoYXVnc2Jha2tAZmFzdG1haWwuY29tPg==; rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+; s=fm3:rsa-sha256:UIe14Pe9HXrIzJ38xHorFg6LAMCJnSj7h/pVR4TfP42uQQ3 tj++qlMSa5Kh/+Y8ma+4NOLjmQrOTWy5VaDvRX5wlajuwJxIzDMx07sawpOJ2snY aMCEgz5BfAj1400PrwfSjTnf+H8VWwrr8st0/6Hep60Y5iGR7Oro4kUPHLWwksaK KJa+2SlpfHy5BPrMj49yD8ZqNbj+xG6ehbur+zN4IRC6NDyMMBsRi1FAdZpasDUb cRcbPImpnRb+q82ours8XsZmxZdDtClTzMQjplzfhneZiRyzLP6v3PRIX2b4Kc9i ESvATC8V+oAjTAJgV0ohOSYUEOLBzh9Rhxk15wA==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=mi-m=1; hc=12; hn=cc,content-transfer-encoding,content-type,date,feedback-id, from,in-reply-to,message-id,mime-version,references,subject,to; Message-Instance: m=1; h=sha256:vr/NYM9DkZoczi00WmhlULN92lswO40CVOMYJNoJVZY=:e1Qdiw/wLrtP9QDsIuzjfR2+jAyZF4GaxG8mWqmOV4k=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTG27Ml/YuSbYnCd5JfQbPXRQsveRIRnRksGK3W/LMKAsg7tBv5xwlO8/KksamYNW/ iaaKP3oAF70H25kF13D9XP9asC4mTz66qiN2ekbjQni/1V5SKngH7OykbafzvIp2k1txrV iU2Qlk79MVlt+UQ40uFaD+dCjKdzm8vWS7hBPA8UKTNOHj3RAEHslasbvU5RgbvhkgQLon 2fsSERldBhZsD1m3LtSz8q4M0mwlkdxCA2aPR53P7NphBgvwxbeWt1QfUWXhL5S8eJlG0z 0aeceOPhfOEXVtZ3+b7l6rUjx5k2E3z8PEH7ivaFghW5xw/Qlr2Sizzk3XlIm8tlPD6CSl Zju60KGMKJQWQTJBwE+cddD9iPCTis3c9Jv1/NBdcRdaWkZqL6xUaOcXli3IXCb6knOdxz 0f0r1y59sJQ8U3fOXpgGD3bmTnTbUoUYFKYjDPw0bk5chItlWkBHBLBRl6Ig+gH+dd64gC nc1KAZgXu1XNgqoeQchHMTL82eC9GFP59e9apkp5WiJY7mdSPY3gzBcoMAkMT/tj0Y69gl L/A67Mi9X61BRqVXJx9jjq651d77ew6RASW1NzZT2hWZ5VQJyI9CBoxmA/3XKaA3P8SLH/ kdAd8zRoPHO6t3Bih21I42fh71Bmo7OyUAthh8u5CFvM1jfkLDu2nFqFbDaQ X-ME-Proxy: Feedback-ID: i8b11424c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 2 Dec 2026 17:17:52 -0500 (EST) From: kristofferhaugsbakk@fastmail.com To: git@vger.kernel.org Cc: Kristoffer Haugsbakk Subject: [PATCH 12/12] doc: rev-list: complete diff-tree by mentioning --always Date: Wed, 2 Dec 2026 23:14:20 +0100 Message-ID: X-Mailer: git-send-email 2.56.1.5.g155936fbb2a In-Reply-To: References: X-Mailing-List: git@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Kristoffer Haugsbakk This example implies that it acts a lot like some git-log(1) invocation. The immediate thought is 'git log --patch', but that would be wrong; the git-diff-tree(1) command does not output commits which do not have a diff, like a merge commit. The example doesn’t say that, but it is useful for the reader to know that they need to make this adjustment if they want git-log(1) output. So let’s mention it after the code example. Of course, this is not complete; you would need to pass '--notes' or '--show-notes-by-default' to git-diff-tree(1) in order to mimic the git-log(1) notes behavior. And maybe other things. But those are small details compared to not getting a commit at all. Signed-off-by: Kristoffer Haugsbakk --- Documentation/git-rev-list.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/git-rev-list.adoc b/Documentation/git-rev-list.adoc index f582491dd43..0dd6269d662 100644 --- a/Documentation/git-rev-list.adoc +++ b/Documentation/git-rev-list.adoc @@ -61,6 +61,9 @@ git rev-list --format=medium HEAD git rev-list HEAD | git diff-tree --stdin --format=medium -p ---------- ++ +This will not print commits without diffs, like merge commits. Use +`--always` to also print those commits. * Print the list of commits on the current branch that touched any file in the `Documentation` directory. -- 2.56.1.5.g155936fbb2a