preprocessor for .gitignore file (used by git) for RegEx support and more. ability to mix your globe syntax with some RegEx syntax (see examples below)
written in AutoHotkey. in long term maybe written in nodeJs.
AutoHotkey is a free, open-source scripting language for Windows that allows users to easily create small to complex scripts for all kinds of tasks such as: form fillers, auto-clicking, macros, etc.
- install AutoHotkey
- run gitignore_preprocessor.ahk (it copies .gitignore to .gitignore_pre)
- edit .gitignore_pre
- run gitignore_preprocessor.ahk (it parsing .gitignore_pre and copies result to .gitignore)
after first start, edit .gitignore_pre (not .gitignore)
\d+
\d{3}
i)\w{3}
\w{3}
\w{1}i)\w{1}
\d{1,3}
\w{1,4}
hello\d{1,3}world
\d{2,3}
\d{1,2}\w{1,2}
gitignore_backup/**/*
gitignore_backup/**/*
!gitignore_backup/**/*
gitignore_backup/**/*
#<<<EXIT
Since version 1.5.6 there is an ignorecase option available in the [core] section of .git/config
But!!: "Maybe it is not possible to override how the OS handles file cases. ... Git checks the correct value of ignorecase only once, and that is when you create the repository." ( https://stackoverflow.com/questions/52369109/git-core-ignorecase-false-in-mac-os-x#comment91683508_52369235 )
To change it for just one repo, from that folder run:
git config core.ignorecase false
To change it globally:
git config --global core.ignorecase false