From: Shawn O. Pearce Date: Tue, 16 Oct 2007 16:55:34 +0000 (-0400) Subject: git-gui: Paper bag fix the global config parsing X-Git-Tag: gitgui-0.9.0~16 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a5bb31fb6323b53559b0d15ce2d02a7ba6d74bed;p=git.git git-gui: Paper bag fix the global config parsing 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 --- diff --git a/git-gui.sh b/git-gui.sh index 9bc562628..38c6e595d 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -755,7 +755,10 @@ git-version proc _parse_config {arr_name args} { 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