git-annex/Config
Joey Hess 87d5583a91
use programPath consistently, not readProgramFile
Improve git-annex's ability to find the path to its program, especially
when it needs to run itself in another repo to upgrade it.

Some parts of the code used readProgramFile, probably because I forgot that
programPath exists.

I noticed this when a git-annex auto-upgrade failed because it was running
git-annex upgrade --autoonly, but the code to run git-annex used
readProgramFile, which happened to point to an older build of git-annex.
2020-03-30 16:06:27 -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 use programPath consistently, not readProgramFile 2020-03-30 16:06:27 -04:00
GitConfig.hs git-annex config: guard against non-repo-global configs 2020-03-02 15:54:18 -04:00
Smudge.hs some easy createDirectoryUnder conversions 2020-03-05 15:20:10 -04:00