Skip to content

Commit

Permalink
difftool: Call the temp directory "git-difftool"
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
David Aguilar authored and Junio C Hamano committed Jul 23, 2012
1 parent c9bdd50 commit b965e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-difftool.perl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,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 $!;
Expand Down

0 comments on commit b965e8f

Please sign in to comment.