gitk: Teach gitk to respect log.showroot
authorMarcus Karlsson <mk@acc.umu.se>
Tue, 4 Oct 2011 20:08:13 +0000 (22:08 +0200)
committerPaul Mackerras <paulus@samba.org>
Sat, 24 Mar 2012 05:44:12 +0000 (16:44 +1100)
commitb2b76d10696d945bf19318831b64d009d119e051
tree4aad03a1a271463714b85ad15782c7ca056fc437
parent6febdede5acdbab192d955d4e0cd810f3fbee27f
gitk: Teach gitk to respect log.showroot

In early days, all projects managed by git (except for git itself) had the
product of a fairly mature development history in their first commit, and
it was deemed unnecessary clutter to show additions of these thousands of
paths as a patch.

"git log" learned to show the patch for the initial commit without requiring
--root command line option at 0f03ca9 (config option log.showroot to show
the diff of root commits, 2006-11-23).

Teach gitk to respect log.showroot.

[paulus@samba.org: Cleaned up the Tcl a bit, use --bool on the
 git config call]

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk