Re: [PATCH v2 3/3] difftool --dir-diff: symlink all files matching the working tree

2013-03-14 Thread Junio C Hamano
John Keeping j...@keeping.me.uk writes: diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh index 3aab6e1..70e09b6 100755 --- a/t/t7800-difftool.sh +++ b/t/t7800-difftool.sh @@ -340,6 +340,28 @@ test_expect_success PERL 'difftool --dir-diff' ' stdin_contains file output '

Re: [PATCH v2 3/3] difftool --dir-diff: symlink all files matching the working tree

2013-03-14 Thread John Keeping
On Thu, Mar 14, 2013 at 02:28:31PM -0700, Junio C Hamano wrote: John Keeping j...@keeping.me.uk writes: diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh index 3aab6e1..70e09b6 100755 --- a/t/t7800-difftool.sh +++ b/t/t7800-difftool.sh @@ -340,6 +340,28 @@ test_expect_success

Re: [PATCH v2 3/3] difftool --dir-diff: symlink all files matching the working tree

2013-03-14 Thread Junio C Hamano
John Keeping j...@keeping.me.uk writes: +for f in file file2 sub/sub +do + echo $f + readlink $2/$f +done actual +EOF When you later want to enhance the test to check a combination of difftool arguments where some paths are expected to become links and others are expected to