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

2013-03-14 Thread John Keeping
On Wed, Mar 13, 2013 at 08:41:29PM -0700, David Aguilar wrote: On Wed, Mar 13, 2013 at 1:33 PM, John Keeping j...@keeping.me.uk wrote: diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh index eb1d3f8..8102ce1 100755 --- a/t/t7800-difftool.sh +++ b/t/t7800-difftool.sh @@ -370,6

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

2013-03-14 Thread Junio C Hamano
John Keeping j...@keeping.me.uk writes: +write_script .git/CHECK_SYMLINKS \EOF +#!/bin/sh +test -L $2/file +test -L $2/file2 +test -L $2/sub/sub +echo $? +EOF Please drop #!/bin/sh from the above; it is misleading and pointless. After all, you are using write_script to avoid having to