summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8621581)
raw | patch | inline | side by side (parent: 8621581)
author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 16 Oct 2007 16:55:34 +0000 (12:55 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 17 Oct 2007 07:38:00 +0000 (03:38 -0400) |
git-config won't honor any options after --list. We must supply
the --global option in front of --list if we really want to load
the global configuration options.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
the --global option in front of --list if we really want to load
the global configuration options.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index 9bc5626286b7e9233f7a643253c6edfa99755ba8..38c6e595d85db2f2314a5fc671436bc891ac0e67 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
array unset arr
set buf {}
catch {
- set fd_rc [eval [list git_read config --null --list] $args]
+ set fd_rc [eval \
+ [list git_read config] \
+ $args \
+ [list --null --list]]
fconfigure $fd_rc -translation binary
set buf [read $fd_rc]
close $fd_rc