[PATCH] Add m4/host-cpu-c-abi.m4 to .gitignore for macOS build

Peter Michaux <[email protected]> Mon, 21 Apr 2025 13:14:51 -0700
Newsgroups gmane.editors.nano.devel
Message-ID <CAG0y48DfMjGkuby9wPRKoGOZ6uNGLLq0tLkX2SR3kLwCh0ZERQ@mail.gmail.com>
The attached patch file adds m4/host-cpu-c-abi.m4 to the .gitignore file to
prevent it from being tracked when building nano from source on macOS. This
file was automatically generated and presumably should not be tracked by
git.
0001-gitignore-ignore-m4-host-cpu-c-abi.m4-generated-on-m.patch (application/octet-stream, 761 B)
From 17c21fa78868b3dbf9d3fe9c868f6cbb73359e24 Mon Sep 17 00:00:00 2001
From: Peter Michaux <[email protected]>
Date: Mon, 21 Apr 2025 13:08:46 -0700
Subject: [PATCH] gitignore: ignore m4/host-cpu-c-abi.m4 generated on macOS

When building from source on macOS, a m4/host-cpu-c-abi.m4 file
appears which is not tracked by git. Add it to .gitignore to
avoid unintentional staging.

Signed-off-by: Peter Michaux <[email protected]>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 9bf1fb4f..349e3d1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,6 +45,7 @@ core
 /m4/gettext.m4
 /m4/glibc2.m4
 /m4/glibc21.m4
+/m4/host-cpu-c-abi.m4
 /m4/iconv.m4
 /m4/intdiv0.m4
 /m4/intl.m4
-- 
2.39.5 (Apple Git-154)