I use chocolatey to install git with parameters and that works fine in command-line:
choco install git -params '"/GitOnlyOnPath /NoAutoCrlf"'
Now, I want to put that in my .config
file, where it does not seem to work. Here is an example of how I would expect to configure it:
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="git" params="/GitOnlyOnPath /NoAutoCrlf"/>
</packages>
This would install git successfully, but ignore the arguments: autocrlf
is still true
afterwards.
The documentation and most sources only cover the version
and location
attributes for package-entities. So, (how) is it possible, to configure custom parameters inside a .config
file?
params
only instead ofpackageParameters
. – Tuberosity