author | Alexander Gavrilov <angavrilov@gmail.com> | |
Sun, 16 Nov 2008 18:46:47 +0000 (21:46 +0300) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 16 Nov 2008 21:33:09 +0000 (13:33 -0800) | ||
commit | 153ad78b5074b37215654b1ccb59e67dc5831883 | |
tree | 89e174effc81b0d86b49fceac06920e3848b4621 | tree | snapshot |
parent | d1f2b362b7937c1ecb0d1b9a21d76b362705b87d | commit | diff |
git-gui: Implement system-wide configuration handling.
With the old implementation any system-wide options appear
to be set locally in the current repository. This commit
adds explicit handling of system options, essentially
interpreting them as customized default_config.
The difficulty in interpreting system options stems from
the fact that simple 'git config' lists all values, while
'git config --global' only values set in ~/.gitconfig,
excluding both local and system options.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
With the old implementation any system-wide options appear
to be set locally in the current repository. This commit
adds explicit handling of system options, essentially
interpreting them as customized default_config.
The difficulty in interpreting system options stems from
the fact that simple 'git config' lists all values, while
'git config --global' only values set in ~/.gitconfig,
excluding both local and system options.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history | |
lib/option.tcl | diff | blob | history |