Skip to content

Commit e203d1d

Browse files
cpackhampaulusmack
authored andcommitted
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>
1 parent 9fabefb commit e203d1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11936,7 +11936,7 @@ if { [info exists ::env(GIT_TRACE)] } {
1193611936
}
1193711937

1193811938
# defaults...
11939-
set wrcomcmd "git diff-tree --stdin -p --pretty"
11939+
set wrcomcmd "git diff-tree --stdin -p --pretty=email"
1194011940

1194111941
set gitencoding {}
1194211942
catch {

0 commit comments

Comments
 (0)