Open j4yk opened 6 years ago
One problem here is that the INIFile package which is currently used to parse the configuration files uses Dictionaries to store the values. So at this basic level duplicate options are not supported. Looks like an alternative for reading and writing the configuration files must be implemented.
Currently, the interface of GitRepository assumes that there is only one value for each setting. But in fact, there can be multiple. For example, a remote can have multiple fetch specs (example taken from Pro Git):
git-config has some options to deal with multi-valued settings: --get-all --replace-all --unset-all