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 C7F8028DEEE for ; Fri, 1 Aug 2025 19:46:37 +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=1754077599; cv=none; b=b8AEgB61cfO8gDwn7dZW3xRGpJYkB9BpaABv4fdQsk4cCdn+oMIDeGs6r3fynplYIiucvePU+v7tV357yEMhC0vYChEjaNjrdiwoKyYtP3AhSIiWWEiUdwG++LYc1gru8UHSCZXOm/BE0FLq+qWhENJlVyIfH2NWl6is0HpQgM4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754077599; c=relaxed/simple; bh=tr07UxGua7xSCT2/71QHussB0Ri88BS5fSsCxFK4Cc0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qR606iewxgw1mU73PrKIk0HCqcrv4QXYvM8dL4RuIzAWioZEt+/C+tYL2KL9ZgfbVHX8lyU/cxZxHLGggIuSek29Q/ZeXS62cb1J/I1pPJvwKFZWlVtjJAV0Orxd0AQ6WzK8zPdubQwMabjIUupygAmK3EdP9eCFn/ricDjzbmU= 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=D/J5r89V; 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="D/J5r89V" 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=REelh2mCiOE3BAac/Q3f2y41vt3jar3tKdHFFg3Oyjw=; b=D/J5r89VqTECpyQ+6oW5OI0Mfw TuCY4wMnctj48mJvssDGST+GTTgz7mhK/crYp7qc+JCbhHq3ZmAGwurjVJHLFbQxutTNS79gnMpS/ iw41VnYlgHo8MlFGgXwez3ZDnenL7db3y/xYIkwfeYgtY/e0YOFlDUCNHBbzedC4DY0u/pA/UI5uq aiS3H0H2zvcsKs/viAzb1CEPmetz7pWkOXcB5S3oeKaVGfkXyll9Pq8qP6kjuSBHFIEAgaeAgN68R 9ib3C0ZdF7SowIh4QdCCX4MvJpMk+KtZXOu/29Yzuvi5BhQQQW/Px1kHFkKlNVQ2j00QtXYf18t9d pnNBcZkQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1uhvi9-00000006hrb-0n6v; Fri, 01 Aug 2025 19:46:37 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH v3 06/11] CLAUDE.md: add instrucitons to verify commit Date: Fri, 1 Aug 2025 12:46:30 -0700 Message-ID: <20250801194635.1598544-7-mcgrof@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250801194635.1598544-1-mcgrof@kernel.org> References: <20250801194635.1598544-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 c52774b513f4..2bcf94431671 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