git-annex/Upgrade
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
..
V5 rename changeGitConfig to overrideGitConfig and avoid unncessary calls 2020-02-27 01:11:53 -04:00
V0.hs more RawFilePath 2019-12-18 17:10:28 -04:00
V1.hs more RawFilePath 2019-12-18 17:10:28 -04:00
V2.hs annex.tune.branchhash1=true bugfix 2020-02-14 15:22:48 -04:00
V3.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
V4.hs remove most remnants of direct mode 2019-08-26 16:27:48 -04:00
V5.hs rename changeGitConfig to overrideGitConfig and avoid unncessary calls 2020-02-27 01:11:53 -04:00
V6.hs v7 2018-10-25 18:24:23 -04:00
V7.hs annex.dotfiles 2019-12-26 16:33:39 -04:00