mirror of
https://github.com/rust-lang/cargo
synced 2024-10-02 14:04:23 +00:00
Auto merge of #9556 - ehuss:gitignore-doc-fix, r=alexcrichton
Fix typo in gitignore docs. `**.ext` is collapsed to `*.ext` by git.
This commit is contained in:
commit
e21e03f4c0
|
@ -416,7 +416,7 @@ The patterns should be [gitignore]-style patterns. Briefly:
|
|||
`foo`.
|
||||
- `/**/` matches zero or more directories. For example, `a/**/b` matches
|
||||
`a/b`, `a/x/b`, `a/x/y/b`, and so on.
|
||||
- `!` prefix negates a pattern. For example, a pattern of `src/**.rs` and
|
||||
- `!` prefix negates a pattern. For example, a pattern of `src/*.rs` and
|
||||
`!foo.rs` would match all files with the `.rs` extension inside the `src`
|
||||
directory, except for any file named `foo.rs`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue