git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Button added to performs a GUI diff (inline)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Sep 8, 2007, 23:34 UTC
Message-ID
<Pine.LNX.4.64.0709090031260.28586@racer.site>
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 <pierre.dumuid@adelaide.edu.au>
> 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.)

Show 5 quoted lines
> +    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

Previous: Unknown
Message 2 of 2 in “Button added to performs a GUI diff (inline)”
  1. Button added to performs a GUI diff (inline)Unknown, Sep 8, 2007
  2. Johannes SchindelinSep 8, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.