Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eliahkagan/glob-experiment
A .gitignore glob pattern experiment
https://github.com/eliahkagan/glob-experiment
Last synced: about 24 hours ago
JSON representation
A .gitignore glob pattern experiment
- Host: GitHub
- URL: https://github.com/eliahkagan/glob-experiment
- Owner: EliahKagan
- License: 0bsd
- Created: 2024-05-06T22:38:43.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-06T22:45:43.000Z (6 months ago)
- Last Synced: 2024-05-06T23:34:47.819Z (6 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# glob-experiment - A `.gitignore` glob pattern experiment
This is a test repository for inspecting the output of `git` commands that
operate based on `.gitignore` patterns, such as the command:```sh
git check-ignore -vn "XXX/\'"
```That command has the same effect in both PowerShell and in POSIX-compatible
(Bourne-style) shells like Bash: the final command-line argument is treated as
the literal text `XXX/\'`. (On Windows, this is itself escaped and included in
a command string from which it has to be parsed out, but the usual parsing
rules turn it back into the literal value.)The value `XXX/\'`, and the pattern `*/\'` in `.gitignore`, are from
[`make_baseline.sh`](https://github.com/Byron/gitoxide/blob/048e43e26908b0572852a75780a451460dc152ff/gix-glob/tests/fixtures/make_baseline.sh#L16)
in the test suite of [gitoxide](https://github.com/Byron/gitoxide).