- Make sure you have a GitHub account.
- Fork the repository on GitHub.
- Make changes to your clone of the repository.
- Submit a pull request.
A few of the source files have
[filter "kwexpander"]
smudge = bash expandkw %f
clean = bash -c \"sed -e 's/\\$Date.*\\$/\\$Date\\$/'\"
[merge]
renormalize = true
Assumes bash is in a folder in your PATH environment variable. On Unix/GNULinux/OSX, this is normally the case. On Windows, you will need Cygwin and must either add C:\cygwin\bin to %PATH% or prefix "bash" above with C:/cygwin/bin/.
On Unix/GNULinux/OSX you can change clean to simply
clean = sed -e 's/\\$Date.*\\$/\\$Date\\$/'
Add the above to your ~/.gitconfig file instead. If on Unix/Linux/OSX, you should copy expandkw to somewhere in your path, such as /usr/local/bin and change smudge to simply
smudge = expandkw %f
If on Windows, you will need to use the full path to "expandkw" in the smudge driver. The driver shown relies on Git setting the current directory to the top of the KTX working tree.