From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b8-smtp.messagingengine.com (fhigh-b8-smtp.messagingengine.com [202.12.124.159]) (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 7BAEB40D580 for ; Wed, 10 Jun 2026 21:25:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.159 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781126708; cv=none; b=iOBxByLrNtGeNT98JR5Y2tSdxoZbjlhHlxPKtZ4pDmNYmgxe5INxb+fnw+6/iEIFEkxH4Ga5nw4h3gK9QeIJfHuzP3ko5mM9T1qZbqoetybo931WbgSE4jGqKp+6EbIFo/6PU88dNKbMEDyk5Dl0UoXBG1VfNKbDkm7/34RQraY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781126708; c=relaxed/simple; bh=Xgv1KQ9EzjwNKsbEs+/Zp78ZkfS3GPYWJG4yqIVT5Ls=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nhyYVRuqbuYqEWRKupLE3Gv2vWmZDUyQGfiO97JRJNcNySrg2BLQiYhhA9MtfE4tg/idZ9tDkGfWGGkN4jm1BcbAnC1zSVHHap4T6pi/3hxSh+zgFP8QHilTrVdTPpN98dIs+cSns9d7gRmMVUg0etojmxwg3/4+7ZOlwUovDCI= 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=RML733pC; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=iHsd1XWy; arc=none smtp.client-ip=202.12.124.159 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="RML733pC"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="iHsd1XWy" Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id D2BB77A0018; Wed, 10 Jun 2026 17:25:06 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Wed, 10 Jun 2026 17:25:07 -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=fm1; t=1781126706; x=1781213106; bh=caC08UHJLTMfvf81H5/URrF5613fRr5ckaIMazYYX+w=; b= RML733pCODseFGZfnZzLmHPNqrUa/rFyI+OR0rjJ9aDcfN2XofJILwaM6V8DnVC4 eZA2ewntQ13PVY+TLfc2gS8eGoIxI4HEnt1A3U4UACv6Ju+wrZnZFbCkHH4knHXf 69+CISFBKPa2DaHmRugsGneUggRYMbvAvqt8CHgzGWuv/4T9AnEhMvBcRF3o8wjd sxktlbOIDmthwrwFdU6SqZFozUU953DyLxAql0xByhF4Nk6Y1hRD1vestC9HyZUt 0LSQIs56cewhb2fBt6Fe9ybvClURmWzq+en/qcq66F1T81OAMqLNVmB+v/oDnLsF lvRnMyrkdBz1ZEwvW56TYA== 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=fm1; t=1781126706; x= 1781213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cJ00OPm/6c9LlQqGVoJYN4SU4sikrWfYbxECnnZ25saWIBL5RBFdFsaFK8g X-ME-Proxy: Feedback-ID: i8b11424c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 10 Jun 2026 17:25:04 -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" Subject: [PATCH v3 11/11] doc: interpret-trailers: document comment line treatment Date: Wed, 10 Jun 2026 23:21:29 +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 Comment lines have always been ignored but this is not documented. This is mostly for completeness since this is unlikely to catch anyone by surprise. But we really ought to be reasonably complete here since it’s the only documentation page that documents trailers. Signed-off-by: Kristoffer Haugsbakk --- Notes (series): v3: • Msg: finally fix area • Demote this point to its own “other rules” section, out of the main running text. It is not important enough for the main text. • Since writing this I have realized that we can go into that long # ----- >8 ---- Commit message separator scissor line, maybe other things. But I stop short here. These things are even less likely to become a problem for anyone. And maybe we’ll add them later? v2: [new] Documentation/git-interpret-trailers.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/git-interpret-trailers.adoc b/Documentation/git-interpret-trailers.adoc index fb9b1e94dd7..d5e856f5d68 100644 --- a/Documentation/git-interpret-trailers.adoc +++ b/Documentation/git-interpret-trailers.adoc @@ -117,6 +117,16 @@ key: This is a very long value, with spaces and newlines in it. ------------------------------------------------ +OTHER RULES +----------- + +What was covered in the previous section are the rules that are relevant +for regular use. The following points are included for completeness. + +This command ignores comment lines (see `core.commentString` in +linkgit:git-config[1]). This is for use with the `prepare-commit-msg` +and `commit-msg` hooks. + OPTIONS ------- `--in-place`:: -- 2.54.0.22.g9e26862b904