From: John Keeping Date: Fri, 17 May 2013 18:26:08 +0000 (+0100) Subject: difftool: fix dir-diff when file does not exist in working tree X-Git-Tag: v1.8.3-rc3~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/1f197a1de497db8898c9920fab77533dab34a03c?ds=inline;hp=1f197a1de497db8898c9920fab77533dab34a03c difftool: fix dir-diff when file does not exist in working tree Commit 02c5631 (difftool --dir-diff: symlink all files matching the working tree, 2013-03-14) does not handle the case where a file that is being compared does not exist in the working tree. Fix this by checking for existence explicitly before running git-hash-object. Reported-by: Kevin Bracey Signed-off-by: John Keeping Signed-off-by: Junio C Hamano ---