Closed
Description
$ git status
On branch master
Initial commit
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: TEST/foo
new file: test/bar
$ git commit -m "Test"
Check for case conflicts...................................................................................Passed
[master (root-commit) 6931ba5] Test
2 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 TEST/foo
create mode 100644 test/bar
$ cat .pre-commit-config.yaml
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: '0d88124ef6343fbbc6c9d2872853f73546c98a3f'
hooks:
- id: check-case-conflict
A conflict such as Test/foo
and test/foo
is caught though.
Metadata
Metadata
Assignees
Labels
No labels