From: Johannes Schindelin Date: Sat, 08 Sep 2007 23:34:35 GMT Subject: Re: [PATCH] Button added to performs a GUI diff (inline) Message-ID: In-Reply-To: <200709081231.26894.pmdumuid@pezdell> Hi, On Sat, 8 Sep 2007, Pierre Marc Dumuid wrote: > From bd43cca7aa88282455b6bbe6e2f9d8134da1029c Mon Sep 17 00:00:00 2001 > From: Pierre Marc Dumuid > Date: Sat, 8 Sep 2007 00:32:10 +0930 > Subject: [PATCH] Button added to performs a GUI diff Almost! Just make sure that you are sending this patch with the correct Sender and put the Subject: line as subject of your mail. And then describe in more detail what the patch does (This commit adds a button to gitk to easily look at diffs between a commit and its first parent. It uses the GUI tool selected in merge.tool to visualize the diff, erroring out if none was specified.) > + if {[catch {exec git cat-file -p $sha1string^:$fname > .gitk_diffolder} err] > + || [catch {exec git cat-file -p $sha1string:$fname > .gitk_diffnewer} err]} { > + error_popup "Invalid file selected for comparison" > + return > + } I think I found a solution for removing the temporary files: man n after. Ciao, Dscho