From: Chris Packham Date: Sun, 2 Nov 2014 08:37:50 +0000 (+1300) Subject: gitk: Default wrcomcmd to use --pretty=email X-Git-Tag: v2.4.0-rc0~18^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e203d1dcba995e03b78f029aef452450e611d91f;p=thirdparty%2Fgit.git gitk: Default wrcomcmd to use --pretty=email This makes the "Write commit to file" context menu option generate a file that is consumable by 'git am'. Signed-off-by: Chris Packham Signed-off-by: Paul Mackerras --- diff --git a/gitk b/gitk index 78358a712a..462f966948 100755 --- a/gitk +++ b/gitk @@ -11936,7 +11936,7 @@ if { [info exists ::env(GIT_TRACE)] } { } # defaults... -set wrcomcmd "git diff-tree --stdin -p --pretty" +set wrcomcmd "git diff-tree --stdin -p --pretty=email" set gitencoding {} catch {