From: Zbigniew Jędrzejewski-Szmek Date: Sat, 01 Oct 2011 09:54:11 GMT Subject: Re: [PATCH] gitk: Show patch for initial commit Message-ID: <4E86E343.5070704@in.waw.pl> In-Reply-To: <20110930215021.GA3005@kennedy.acc.umu.se> On 09/30/2011 11:50 PM, Marcus Karlsson wrote: > Make gitk show the patch for the initial commit. > > Signed-off-by: Marcus Karlsson > --- > gitk-git/gitk | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/gitk-git/gitk b/gitk-git/gitk > index 4cde0c4..20aeae6 100755 > --- a/gitk-git/gitk > +++ b/gitk-git/gitk > @@ -7436,7 +7436,7 @@ proc diffcmd {ids flags} { > lappend cmd HEAD > } > } else { > - set cmd [concat | git diff-tree -r $flags $ids] > + set cmd [concat | git diff-tree -r --root $flags $ids] > } > return $cmd > } Cool, this works for me! But I think I would be really nice if gitk respected the configuration value of log.showroot. This would give nice consistency amongst the various tools. Zbyszek