From e203d1dcba995e03b78f029aef452450e611d91f Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sun, 2 Nov 2014 21:37:50 +1300 Subject: [PATCH] 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 --- gitk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.47.1