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

[PATCH v4 4/5] difftool: Call the temp directory "git-difftool"

From
David Aguilar <davvid@gmail.com>
Date
Jul 25, 2012, 02:59 UTC
Message-ID
<1343185173-48278-5-git-send-email-davvid@gmail.com>
In-Reply-To
<1343185173-48278-1-git-send-email-davvid@gmail.com>

The "diffall" name was left over from when this functionality was part of the "git-diffall" script in contrib/. Make the naming consistent.

Signed-off-by: David Aguilar <davvid@gmail.com>
---
Same as last time, rebased
 git-difftool.perl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-difftool.perl b/git-difftool.perl
index 685887d..b4f2fc6 100755
--- a/git-difftool.perl
+++ b/git-difftool.perl
@@ -119,7 +119,7 @@ sub setup_dir_diff
 	exit(0) if (length($diffrtn) == 0);
 
 	# Setup temp directories
-	my $tmpdir = tempdir('git-diffall.XXXXX', CLEANUP => 1, TMPDIR => 1);
+	my $tmpdir = tempdir('git-difftool.XXXXX', CLEANUP => 1, TMPDIR => 1);
 	my $ldir = "$tmpdir/left";
 	my $rdir = "$tmpdir/right";
 	mkpath($ldir) or die $!;
-- 
1.7.12.rc0.15.g8157c39
Previous: David AguilarNext: David Aguilar
Message 5 of 6 in “difftool: Use symlinks in dir-diff mode”
  1. 0/5 difftool: Use symlinks in dir-diff modeDavid Aguilar, Jul 25, 2012
  2. 1/5 difftool: print_tool_help() globalsDavid Aguilar, Jul 25, 2012
  3. 2/5 difftool: Eliminate global variablesDavid Aguilar, Jul 25, 2012
  4. 3/5 difftool: Move option values into a hashDavid Aguilar, Jul 25, 2012
  5. 4/5 difftool: Call the temp directory "git-difftool"David Aguilar, Jul 25, 2012
  6. 5/5 difftool: Use symlinks when diffing against the worktreeDavid Aguilar, Jul 25, 2012

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.