Skip to content

[Bug]: .gitignore ignores cmake/Config.cmake.in on case-insensitive filesystems (wolfSSL 5.8.4) #9731

@thrud61

Description

@thrud61

Version

5.8.4

Description

In wolfSSL 5.8.4, the top-level .gitignore rule:

config.*

causes cmake/Config.cmake.in to be ignored on case-insensitive filesystems
(Windows, default macOS).

Config.cmake.in is a source-controlled CMake input file, so ignoring it can
break CMake-based builds and downstream packaging.

This issue does not reproduce on typical Linux systems with case-sensitive
filesystems, making it easy to miss.

I may be pushing it a bit labelling this as a bug.

Reproduction steps

Steps to Reproduce

Clone wolfSSL 5.8.4 on Windows (I used Windows) or macOS:

git clone --branch v5.8.4 https://github.com/wolfSSL/wolfssl.git
cd wolfssl

Check ignore status:

git check-ignore -v cmake/Config.cmake.in

Output shows the file is ignored due to:

.gitignore:config.*

Proposed Fix

Add an explicit exception to .gitignore:

!cmake/Config.cmake.in

Relevant log output

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions