Skip to content

libogc: remove duplicate *.o and *.elf rules - #4942

Open
mangeshraut712 wants to merge 1 commit into
github:mainfrom
mangeshraut712:libogc-dedupe-rules
Open

mangeshraut712 wants to merge 1 commit into
github:mainfrom
mangeshraut712:libogc-dedupe-rules

Conversation

@mangeshraut712

Copy link
Copy Markdown

Link to the application or project's homepage

https://github.com/devkitPro/libogc

Reasons for making this change

community/libogc.gitignore lists *.o twice in the "Object files" section and *.elf twice (once under "Object files", once under "Executables"). The duplicates came in with 136e88c, which merged the C.gitignore rules into this template. This removes the second *.o and the *.elf under "Executables", so the "Object files" section matches C.gitignore, where *.elf lives. The contribution guidelines ask for no duplicate rules.

Nothing is ignored differently: I checked a.o, b.elf, c.dol and d.bin with git check-ignore -v against the edited file and all four are still ignored, *.o and *.elf now by their single remaining rules.

Links to documentation supporting these rule changes

Merge and Approval Steps

@mangeshraut712
mangeshraut712 requested a review from a team as a code owner November 10, 2026 08:09
Copilot AI auto review requested due to automatic review settings November 10, 2026 08:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change removes redundant ignore rules while retaining the effective patterns, and the review identifies no active issues.

No open issues 🎉

What changed in this PR

Removes duplicate *.o and *.elf ignore rules from the libogc template while preserving existing ignore behavior and aligning the Object files section with C.gitignore.

Changes:

  • Removes the duplicate *.o rule.
  • Removes the redundant *.elf rule from the Executables section.
  • Retains the single *.o and *.elf rules under Object files.
File Description
community/​libogc.gitignore Removes duplicate *.o and *.elf ignore patterns without changing which files are ignored.

Review effort: Lite (auto)

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.

2 participants