diff options
author | Mark Levedahl <mlevedahl@gmail.com> | 2025-06-03 16:17:15 -0400 |
---|---|---|
committer | Mark Levedahl <mlevedahl@gmail.com> | 2025-07-16 23:01:51 -0400 |
commit | 5b8103a0bdd64aa1e093e235966ae76b76b4f81d (patch) | |
tree | c82b5c7000065a0202fa96969fe4d1a774155fb7 /commit-graph.c | |
parent | b70227fd8681baa21bacf551c5f5e417052b0c54 (diff) |
gitk: use $config_variables as list for save/restore
gitk includes many user defined configuration variables, has all of
these are listed in $config_variables. But this list is not used to
define the variables to be loaded, saved, or restored when cancelling
the configuration dialog, and developers must maintain separate lists of
variables for these purposes. This leads to unnecessary errors and merge
conflicts. Let's replace those separate lists with $config_variables to
make maintenance easier.
While we are on topic, sort the list of names in $config_variables.
This makes it simpler to scan and has fewer chances of conflicts
when new names are introduced.
Helped-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions