Skip to content

Commit

Permalink
Merge branch 'da/difftool-fixes'
Browse files Browse the repository at this point in the history
Minor maintenance updates to difftool, and updates to its tests.

* da/difftool-fixes:
  t7800: "defaults" is no longer a builtin tool name
  t7800: modernize tests
  t7800: update copyright notice
  difftool: silence uninitialized variable warning
  • Loading branch information
Junio C Hamano committed Mar 21, 2013
2 parents e3b3b73 + f469e84 commit 98ed062
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 200 deletions.
2 changes: 1 addition & 1 deletion git-difftool.perl
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ sub main
}
if ($opts{gui}) {
my $guitool = Git::config('diff.guitool');
if (length($guitool) > 0) {
if (defined($guitool) && length($guitool) > 0) {
$ENV{GIT_DIFF_TOOL} = $guitool;
}
}
Expand Down
Loading

0 comments on commit 98ed062

Please sign in to comment.