Skip to content

Docs: recommend bracket-glob patterns for cross-platform case safety in FAQ (refs #6187) - #6192

Merged
chrisd8088 merged 3 commits into
git-lfs:mainfrom
star-ga:docs/bracket-glob-case-safety-6187
Jan 24, 2026
Merged

chrisd8088 merged 3 commits into
git-lfs:mainfrom
star-ga:docs/bracket-glob-case-safety-6187

Conversation

@star-ga

@star-ga star-ga commented Jan 16, 2026

Copy link
Copy Markdown

Addresses part of #6187 by documenting the portable bracket-glob workaround in git-lfs-faq(7).

Adds a new FAQ entry under Tracking and Migration explaining that .gitattributes patterns are case-sensitive, which can cause assets committed on macOS/Windows with uppercase extensions to fail matching on Linux CI, leaving LFS pointer files.

Docs-only change; no behavior or performance impact.

Test/verification:
Verified that *.[pP][nN][gG] matches both file.png and file.PNG on a case-sensitive filesystem.

@star-ga
star-ga requested a review from a team as a code owner January 16, 2026 14:13
@star-ga

star-ga commented Jan 16, 2026

Copy link
Copy Markdown
Author

Updated the FAQ entry to keep wording filesystem/OS-neutral, use the bracket-glob examples directly in .gitattributes, and avoid shell-session formatting—aiming for the minimal docs-only guidance discussed in #6187.

@chrisd8088 chrisd8088 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hey, thanks for this addition to our FAQ, it looks great!

I'll hold off running our CI tests and merging this PR until the tests are passing again; we're just waiting for a regression in upstream Git to be resolved, which should happen soon.

Thanks again for helping improve our documentation!

@chrisd8088
chrisd8088 merged commit 5881beb into git-lfs:main Jan 24, 2026
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Sponsor
SponsoredKunjungi sekarang
Promo