Code

Update diff engine for symlinks stored in the cache.
authorJunio C Hamano <junkio@cox.net>
Thu, 5 May 2005 23:10:21 +0000 (16:10 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 5 May 2005 23:10:21 +0000 (16:10 -0700)
commitb28858bf65d4fd6d8bb070865518ec43817fe7f3
tree09ea38cef504fdf9e28e2e80569dbdcab0f61fcf
parented4eeaf203d0f293bd5ffc2a0ad8711f052db1f3
Update diff engine for symlinks stored in the cache.

This patch updates the external diff interface engine for the change
to store the symbolic links in the cache, recently done by Kay
Sievers.

The main thing it does is when comparing with the work tree, it
prepares the counterpart to the blob being compared by doing a
readlink followed by sending that result to a temporary file to
be diffed.

Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c