git-annex/Config
Joey Hess c78b9b55b6
rename changeGitConfig to overrideGitConfig and avoid unncessary calls
It's important that it be clear that it overrides a config, such that
reloading the git config won't change it, and in particular, setConfig
won't change it.

Most of the calls to changeGitConfig were actually after setConfig,
which was redundant and unncessary. So removed those.

The only remaining one, besides --debug, is in the handling of
repository-global config values. That one's ok, because the
way mergeGitConfig is implemented, it does not override any value that
is set in git config. If a value with a repo-global setting was passed
to setConfig, it would set it in the git config, reload the git config,
re-apply mergeGitConfig, and use the newly set value, which is the right
thing.
2020-02-27 01:11:53 -04:00
..
Cost.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
DynamicConfig.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Files.hs Makefile: Added install-home target which installs git-annex into the HOME directory 2019-03-18 12:36:03 -04:00
GitConfig.hs rename changeGitConfig to overrideGitConfig and avoid unncessary calls 2020-02-27 01:11:53 -04:00
Smudge.hs annex.dotfiles 2019-12-26 16:33:39 -04:00