From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b4-smtp.messagingengine.com (fhigh-b4-smtp.messagingengine.com [202.12.124.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 63C9D3C0A08 for ; Thu, 30 Jul 2026 09:20:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785403260; cv=none; b=JdfMRvQ7IwFveXrPsrpu7JrZO2tMftHugPJ9CZ0NZcXf/y1BLzgQmpsLBkkt7gi9guhJ5zjQn18OxEtGFRdynjhWlo/F+LHDvifJuGf+yNJgq/FAa7wC0M/lhqZSg/QfTLO2kfyiTXsn81TX0a/0nM29GvGlzGE69lGY/gRqIBE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785403260; c=relaxed/simple; bh=ZVvRWSFLkCOvbjBFPdl8ErtlpNfEpeDnFYMRFFma+qQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uPh1P7Us9UxVSgapFicoLofCNJ0lHFv9gpekMW2yyIcwqNy7VRGnNtB9qOKlbUti4lPIZW4RQ5Q7xdMr9CsETUH6JoApFJWHUMEvCeMR4sur0CBvKaRnr2KiRZQwCvkCY9YI0HLsQU0XFb43gccHi15XZKGH9qx5gD9OMEaXQ50= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.com; spf=pass smtp.mailfrom=fastmail.com; dkim=pass (2048-bit key) header.d=fastmail.com header.i=@fastmail.com header.b=L4eGxJiy; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=myqinwHm; arc=none smtp.client-ip=202.12.124.155 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) header.d=fastmail.com header.i=@fastmail.com header.b="L4eGxJiy"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="myqinwHm" Received: from phl-compute-07.internal (phl-compute-07.internal [10.202.2.47]) by mailfhigh.stl.internal (Postfix) with ESMTP id 5D0807A01C8; Thu, 30 Jul 2026 05:20:58 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Thu, 30 Jul 2026 05:20:58 -0400 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=fm2; t=1785403258; x=1785489658; bh=g95CV+b6TgiXhzUmZbFP81/c8WX2kKWmyPL0aZHO9Ug=; b= L4eGxJiy2prM6dQPyWLjQovw/T57n0ADme01nSHSAIhO4aQLXfpaF9o8hSm9AgoW FBb77QBtIAI0UM2fixNKj4AjnoyMi+Rx/c0IHt1gPwHTaBRfc1lxuDN/T33y1thv wzgb3NDbyjGEwLjgBXWL3H+G6potr96pr8FPJFgjpeYhPIYAmeLsAVmmpDZ4a2oL QREQ3PD26th9IwA9sP/G6yhA7UGQ+KpO9k0ii+3aKjcHsDso/4XBscXalqVdzmIN tzeObjcxWlcYv5XHU3RuSw+j/WUsViXEJwvXuKCqnSu00+nEAzFWVAB0hILukhJr e+YrJdchTnOpBWPjfa2u8Q== 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=fm2; t=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1sr8U/Fl+4jq+Oqk3uKWx5vqQsppwElx4kI5BkSo7fC2r8Kg X-ME-Proxy: Feedback-ID: i8b11424c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 Jul 2026 05:20:56 -0400 (EDT) From: kristofferhaugsbakk@fastmail.com To: git@vger.kernel.org Cc: Kristoffer Haugsbakk , christian.couder@gmail.com, jackmanb@google.com, Linus Arver , "D . Ben Knoble" , Matt Hunter , Junio C Hamano Subject: [PATCH v4 07/11] doc: interpret-trailers: add key format example Date: Thu, 30 Jul 2026 11:18:20 +0200 Message-ID: X-Mailer: git-send-email 2.54.0.22.g9e26862b904 In-Reply-To: References: Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Kristoffer Haugsbakk All of the examples speak of the Happy Path where everything works as intended. But failure examples can also be instructive. Especially for explaining again, by example, the key format (see previous commit). This also allows us to demonstrate trailer block detection with a concrete example. Signed-off-by: Kristoffer Haugsbakk --- Notes (series): v4: Fix doubled word “to to” v2: [new] Documentation/git-interpret-trailers.adoc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/git-interpret-trailers.adoc b/Documentation/git-interpret-trailers.adoc index fb503cbe952..a0f7ed6fdd9 100644 --- a/Documentation/git-interpret-trailers.adoc +++ b/Documentation/git-interpret-trailers.adoc @@ -405,6 +405,29 @@ mv "\$1.new" "\$1" $ chmod +x .git/hooks/commit-msg ------------ +* Here we try to use three different trailer keys. But it fails because + two of them are not recognized as trailer keys. ++ +---- +$ cat msg.txt +subject + +Skapad-på: some-branch +Hash-in-v6.11: 45c12d3269fe48f22834320c782ffe86c3560f2c +Reviewed-by: Alice +$ git interpret-trailers --only-trailers