Skip to content

fix: move *.svg to LF-forced text section in .gitattributes#1902

Merged
merill merged 5 commits into
mainfrom
copilot/fix-comments-in-review-thread
Jul 6, 2026
Merged

fix: move *.svg to LF-forced text section in .gitattributes#1902
merill merged 5 commits into
mainfrom
copilot/fix-comments-in-review-thread

Conversation

Copilot AI commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

📑 Description

Addresses review feedback on the .gitattributes introduced in this PR: *.svg was listed under the # Binary files section as text, which was both semantically wrong (SVG is XML) and failed to enforce LF in the working tree.

Changes:

  • Moved *.svg from the binary section to the LF-forced text section with eol=lf, consistent with other cross-platform text assets
  • Simplified the binary section header from # Binary files (and other non-source assets). to # Binary files. — it now contains only true binary formats

✅ Checks

  • My pull request adheres to the code style of this project.
  • My code requires changes to the documentation.
  • I have updated the documentation as required.
  • The build and unit tests pass after running /powershell/tests/pester.ps1 locally.

ℹ️ Additional Information

No functional behavior change for binary assets. SVG files will now have LF enforced in the working tree, consistent with other text-based source formats.


How to Contribute

🏗️ Read our full contributing guide for the Maester project.
🧪 We also have additional instructions and a checklist for creating tests.

Join us at the Maester repository discussions or Entra Discord for more help and conversations!
While you wait for a review, why not spread some Maester love on social media? Thank you! 💖

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 2, 2026

Copy link
Copy Markdown

Deploying maester with  Cloudflare Pages  Cloudflare Pages

Latest commit: 10f69df
Status:⚡️  Build in progress...

View logs

Copilot AI changed the title [WIP] Fix code based on review comments fix: move *.svg to LF-forced text section in .gitattributes Jul 2, 2026
Copilot AI requested a review from SamErde July 2, 2026 19:55
@SamErde SamErde marked this pull request as ready for review July 2, 2026 20:02
@SamErde SamErde requested a review from a team as a code owner July 2, 2026 20:02
@SamErde SamErde requested review from Copilot and removed request for a team July 2, 2026 20:02

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.

Pull request overview

This PR refines the repository’s .gitattributes rules to treat SVG files as LF-forced text assets (rather than “binary”), aligning the attributes with SVG’s XML/text nature and ensuring consistent line endings across platforms.

Changes:

  • Moves *.svg into the “always LF” text section via text eol=lf.
  • Simplifies the “Binary files” header to reflect that it now contains only true binary formats.

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

Comment thread .gitattributes Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@merill merill merged commit f0d19c5 into main Jul 6, 2026
5 of 6 checks passed
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.

4 participants