summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatt Hunter <m@lfurio.us>2026-03-01 01:06:55 -0500
committerMatt Hunter <m@lfurio.us>2026-03-16 04:36:28 -0400
commit8f1e0156d4c47497453a234fe31ca299a259796b (patch)
treed2ce8332b8a946ace054079714de3df66e9d51b8 /Makefile
parentdd2c76dd67f7054b2b0eb1b3a967cdb4c358343b (diff)
downloadgit-sonar-8f1e0156d4c47497453a234fe31ca299a259796b.tar.gz
git-sonar-8f1e0156d4c47497453a234fe31ca299a259796b.zip
Refactor rc config file management
All commands which source content from one of the rc files are collected together at the bottom of the script, in the portion that runs before prompt rendering. Attempt to source from any and all of the files that happen to exist, instead of just taking the first that we find. This allows for instance, the .bash rc file to provide only bash-specific additions that are combined with variables present in .gitradarrc. However, a new ".gitsonarrc" file is now recognized as well whose use should be preferred by new users. File load precedence is such that ".gitsonarrc", if present, has the final say on what variables to use. To improve portability, "source" statements are converted to the POSIX-compliant "." syntax. As part of this code reorganization, the get_fetch_time() function is removed - logic merged into the fetch() function. Signed-off-by: Matt Hunter <m@lfurio.us>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions