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 <judge.packham@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>

Chris Packham committed Nov 2, 2014 at 21:37 UTC e203d1dcba995e03b78f029aef452450e611d91f
1 file changed +1 -1
gitk
+1 -1
@@ -11936,7 +11936,7 @@ if { [info exists ::env(GIT_TRACE)] } {
11936 }
11937
11938 # defaults...
11939 -set wrcomcmd "git diff-tree --stdin -p --pretty"
11939 +set wrcomcmd "git diff-tree --stdin -p --pretty=email"
11940
11941 set gitencoding {}
11942 catch {