Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: Paper bag fix the global config parsing
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>
git-gui.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
8621581
)
diff --git
a/git-gui.sh
b/git-gui.sh
index 9bc5626286b7e9233f7a643253c6edfa99755ba8..38c6e595d85db2f2314a5fc671436bc891ac0e67 100755
(executable)
--- 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