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 <spearce@spearce.org>
Shawn O. Pearce committed
Oct 16, 2007 at 12:55 UTC
a5bb31fb6323b53559b0d15ce2d02a7ba6d74bed
1 file changed
+4
-1
git-gui.sh
+4
-1
@@ -755,7 +755,10 @@ git-version proc _parse_config {arr_name args} {
755
array unset arr
756
set buf {}
757
catch {
758
- set fd_rc [eval [list git_read config --null --list] $args]
758
+ set fd_rc [eval \
759
+ [list git_read config] \
760
+ $args \
761
+ [list --null --list]]
762
fconfigure $fd_rc -translation binary
763
set buf [read $fd_rc]
764
close $fd_rc