Consider this inline invocation in a Windows Command Prompt: ``` C:\msys2\msys2_shell.cmd -defterm -no-start -mingw64 -here -c $@ -- echo hello there, --world=windows ``` This currently produces: >hello there, --world windows Note the absence of the `=` character. This is due to the word-splitting done by `cmd.exe` to form the positional parameters (`%1` - `%9`). The same word-splitting is not done on the `%*` special variable, so derive the remaining command line arguments. With this fix, the above command produces: >hello there, --world=windows
20 lines
383 B
Plaintext
20 lines
383 B
Plaintext
# Declare files that always have LF line endings on checkout
|
|
* text eol=lf
|
|
|
|
# Windows batch files need to have CRLF line endings on checkout
|
|
*.cmd text eol=crlf
|
|
|
|
# Denote all files that are truly binary and should not be modified
|
|
*.bz2 binary
|
|
*.gz binary
|
|
*.xz binary
|
|
*.exe binary
|
|
*.dll binary
|
|
*.lzma binary
|
|
*.ttf binary
|
|
*.tgz binary
|
|
*.zip binary
|
|
*.rar binary
|
|
*.lib binary
|
|
*.a binary
|