From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 7765D1DED57 for ; Wed, 30 Jul 2025 06:01:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753855312; cv=none; b=V9i0pk708OD6T28mUD7bSwXhd8lV5qxl7ULtV6WEt6Q0JxDiz/eSPaK3QGZSEOEx2WWElmwCi4dWsKU3T63OmEOp60CnCDtK2b6efLGMSDP4IVvS9jLwDqVA5AEGutWZ+BxM2M/PviJC3wUe13VPDBaxZM+dC6ukwIgoaKBYSHY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753855312; c=relaxed/simple; bh=MmSNmaoTTtZu3EoHYVEhmn8cDdMTB6uLGMcbp3vvSgo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Q4bSLB7OtwG0QfPVrZGmZUIEVCNlodAkJ8aet1TyLVrrXH3Eef//TGYYwtLsn2po8mbVN+0ZXP9l1Bm5XsE87uT7xzr5adttVYr9kDqLMutWLT6eFOWd9tKM58AIHd36d8f3EdWxkcxEdu1wMa/SJU4LUNSSp+hfrnSdlRAepsk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=hA/gnH9/; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="hA/gnH9/" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=EYWts1+d6dnRuOofkodiWfFFs8JGAVuI3SyIYSQSWNI=; b=hA/gnH9/HT6B/VZRz98Fjn/BKs iFeZ05NwT7Wmu4YHGESnQpT17v181w3kL/wTbMiMDfzDXedIhBf3MQ1i5S7re46pZ5rIKN2yke6YN mNnjlNPu24hOTJ0v5kcqunMCipmIuzsYY/zvYEBb41K7KkoqRWaD8edHt3yCPlLr7H+qpLxSGYDtU 2LZC7Sx+9+8MxidjbbieQxFRr4G61gE6TTBSdeSo4KvyszxHwlXvCcRCQQbLH1D+2uAE2a1EVfXos jkH6DuoIi8W121plHtVbU2O6KdsFYb0g4IrB9Q80NaLUC6jtFqp1bh7jYxoFV4RWByTRqmYpgnDM7 qjky7nQg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1ugzst-00000000lOj-03VQ; Wed, 30 Jul 2025 06:01:51 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH v2 6/9] CLAUDE.md: add instrucitons to verify commit Date: Tue, 29 Jul 2025 23:01:42 -0700 Message-ID: <20250730060147.182140-7-mcgrof@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250730060147.182140-1-mcgrof@kernel.org> References: <20250730060147.182140-1-mcgrof@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain White space damange is just a pain with bots, so we need to also give it a separate instruction to verify the commit is not adding new file with space damage. Signed-off-by: Luis Chamberlain --- CLAUDE.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index c52774b5..2bcf9443 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -121,6 +121,7 @@ make V=1 [target] # Verbose build output make AV=1-6 [target] # Ansible verbose output (levels 0-6) make dynconfig # Generate dynamic configuration make style # Check for whitespace issues - ALWAYS run before completing work +make fix-whitespace-last-commit # Fixes commit white space damage make mrproper # Clean everything and restart from scratch ``` @@ -428,6 +429,15 @@ The fixer script will: Always run `make style` after using the fixer to verify all issues are resolved. +### Verifying commit has no white space damage + +Run the following after you commit something: +```bash +make fix-whitespace-last-commit +``` + +This will fix all white space only for new files you add. + ## Complex System Interactions kdevops integrates multiple subsystems (Ansible, Kconfig, Git, Make) that often -- 2.47.2