Subject: Re: [PATCH v2] merge-recursive: respect core.autocrlf

From: Junio C Hamano <[email-masked]>
Date: Mon, 09 Jun 2008 16:23:00 -0700

Johannes Schindelin <[email-masked]> writes:

> Signed-off-by: Johannes Schindelin <[email-masked]>
> ---
>
> 	On Mon, 9 Jun 2008, Junio C Hamano wrote:
>
> 	> Fairly straightforward fix, except that I suspect this needs to 
> 	> be done only for regular files and not symlinks.
> 	> 
> 	> I think entry.c:write_entry() shows how this should be done.
>
> 	Right.  And the relevant clause is actually already there.  D'oh.

Well, you actually have "double d'oh".  "This ought to be a symlink but
the filesystem is lacking, so we instead write out what the readlink from
such a symlink would return" codepath should not convert_to_worktree().

I'll fix it up, no need to resend.  Thanks for the fix.