提交 a5bb31fb 编写于 作者: S Shawn O. Pearce

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: NShawn O. Pearce <spearce@spearce.org>
上级 86215812
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册