Subject: Re: [PATCH] Demonstrate breakage: checkout overwrites untracked symlink with directory

From: Clemens Buchacher <[email-masked]>
Date: Thu, 10 Feb 2011 22:49:01 +0100

On Wed, Feb 09, 2011 at 03:48:12PM -0800, Junio C Hamano wrote:
> 
> Perhaps can-clobber-to-checkout would be a good candidate.

How about leading_path_in_use() instead? Whether files in the path
can be clobbered or not is checked in a separate step, which is
currently called ok_to_remove().

Clemens