Skip to content

Where is the documentation for .ignore format? #2895

Answered by BurntSushi
dbarnett asked this question in Q&A
Discussion options

You must be logged in to vote

It's mentioned in the guide:

For a more in depth description of how glob patterns in a .gitignore file are interpreted, please see man gitignore.

I suppose it's not fully precise in that it says .gitignore and not .ignore. But .ignore has the same semantics as .gitignore. The only reason it's in a distinct file is for precedence reasons.

Also, the ignore crate API and documentation are in general severely lacking. It's effectively a proof of concept that works decently enough.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dbarnett
Comment options

@BurntSushi
Comment options

Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2894 on September 18, 2024 13:50.