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