summaryrefslogtreecommitdiff
path: root/gitk
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2014-11-02 08:37:50 (GMT)
committerPaul Mackerras <paulus@samba.org>2015-03-01 23:24:59 (GMT)
commite203d1dcba995e03b78f029aef452450e611d91f (patch)
treea037f71144579abe7430804146444a3a092f73d0 /gitk
parent9fabefb1f3f658e77eb18afa3f95efe1a0ee8d0d (diff)
downloadgit-e203d1dcba995e03b78f029aef452450e611d91f.zip
git-e203d1dcba995e03b78f029aef452450e611d91f.tar.gz
git-e203d1dcba995e03b78f029aef452450e611d91f.tar.bz2
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>
Diffstat (limited to 'gitk')
-rwxr-xr-xgitk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitk b/gitk
index 78358a7..462f966 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 {