Skip to content

Comments

fix(implement): remove Makefile from C ignore patterns#1558

Open
zaheer15351 wants to merge 1 commit intogithub:mainfrom
zaheer15351:fix/implement-c-ignore-patterns
Open

fix(implement): remove Makefile from C ignore patterns#1558
zaheer15351 wants to merge 1 commit intogithub:mainfrom
zaheer15351:fix/implement-c-ignore-patterns

Conversation

@zaheer15351
Copy link

Makefile is typically source-controlled and should not be in .gitignore. Replaced with proper autotools-generated files (autom4te.cache/, config.status).

Makefile is typically source-controlled and should not be in .gitignore.
Replaced with proper autotools-generated files (autom4te.cache/, config.status).

Co-authored-by: Augment Agent <noreply@augmentcode.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects the C language ignore patterns in the implement.md template by removing Makefile from the gitignore list, as Makefiles are typically version-controlled source files in C projects. The change also updates the patterns to include autotools-generated artifacts (autom4te.cache/, config.status) that should be ignored.

Changes:

  • Removed Makefile from C ignore patterns (correct - Makefiles should be version-controlled)
  • Added autom4te.cache/ and config.status (autotools-generated files that should be ignored)
  • Removed config.log from the ignore patterns (appears to be unintentional)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- **Kotlin**: `build/`, `out/`, `.gradle/`, `.idea/`, `*.class`, `*.jar`, `*.iml`, `*.log`, `.env*`
- **C++**: `build/`, `bin/`, `obj/`, `out/`, `*.o`, `*.so`, `*.a`, `*.exe`, `*.dll`, `.idea/`, `*.log`, `.env*`
- **C**: `build/`, `bin/`, `obj/`, `out/`, `*.o`, `*.a`, `*.so`, `*.exe`, `Makefile`, `config.log`, `.idea/`, `*.log`, `.env*`
- **C**: `build/`, `bin/`, `obj/`, `out/`, `*.o`, `*.a`, `*.so`, `*.exe`, `autom4te.cache/`, `config.status`, `.idea/`, `*.log`, `.env*`
Copy link

Copilot AI Feb 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal of config.log from the C ignore patterns appears to be unintentional. This file is generated by autotools' configure script and should typically be ignored in version control, similar to config.status. Consider adding config.log back to the ignore pattern list alongside the new config.status entry.

Suggested change
- **C**: `build/`, `bin/`, `obj/`, `out/`, `*.o`, `*.a`, `*.so`, `*.exe`, `autom4te.cache/`, `config.status`, `.idea/`, `*.log`, `.env*`
- **C**: `build/`, `bin/`, `obj/`, `out/`, `*.o`, `*.a`, `*.so`, `*.exe`, `autom4te.cache/`, `config.status`, `config.log`, `.idea/`, `*.log`, `.env*`

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant