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>
This commit is contained in:
Chris Packham 2014-11-02 21:37:50 +13:00 committed by Paul Mackerras
parent 9fabefb1f3
commit e203d1dcba

2
gitk
View File

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