Shawn O. Pearce  committed a5bb31f

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 <>

  • Participants
  • Parent commits 8621581
  • Branches master

Comments (0)

Files changed (1)

 		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