diff options
| author | Matt Hunter <m@lfurio.us> | 2026-03-01 01:06:55 -0500 |
|---|---|---|
| committer | Matt Hunter <m@lfurio.us> | 2026-03-16 04:36:28 -0400 |
| commit | 8f1e0156d4c47497453a234fe31ca299a259796b (patch) | |
| tree | d2ce8332b8a946ace054079714de3df66e9d51b8 /Makefile | |
| parent | dd2c76dd67f7054b2b0eb1b3a967cdb4c358343b (diff) | |
| download | git-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
