From: Shawn O. Pearce Date: Mon, 28 May 2007 21:58:07 +0000 (-0400) Subject: git-gui: Expose the merge.diffstat configuration option X-Git-Tag: v1.5.3-rc0~44^2~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fc8ce406fac73536a14611ce871a06db5a5a22b3;p=git.git git-gui: Expose the merge.diffstat configuration option Recently git-merge learned to avoid generating the diffstat after a merge by reading the merge.diffstat configuration option. By default this option is assumed to be true, as that is the old behavior. However we can force it to false by setting it as a standard boolean option. Signed-off-by: Shawn O. Pearce --- diff --git a/git-gui.sh b/git-gui.sh index c5f132993..f87c12ea8 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -1262,6 +1262,7 @@ proc apply_config {} { } } +set default_config(merge.diffstat) true set default_config(merge.summary) false set default_config(merge.verbosity) 2 set default_config(user.name) {} diff --git a/lib/option.tcl b/lib/option.tcl index 9f76f0294..4924b9aa5 100644 --- a/lib/option.tcl +++ b/lib/option.tcl @@ -184,6 +184,7 @@ proc do_options {} { {b merge.summary {Summarize Merge Commits}} {i-1..5 merge.verbosity {Merge Verbosity}} + {b merge.diffstat {Show Diffstat After Merge}} {b gui.trustmtime {Trust File Modification Timestamps}} {b gui.pruneduringfetch {Prune Tracking Branches During Fetch}}