Re: difftool -d symlinks, under what conditions
- From
John Keeping <john@keeping.me.uk>
- Date
- Mar 12, 2013, 21:06 UTC
- Message-ID
- <20130312210630.GF2317@serenity.lan>
- In-Reply-To
- <7vfw0073pm.fsf@alter.siamese.dyndns.org>
On Tue, Mar 12, 2013 at 01:39:17PM -0700, Junio C Hamano wrote:
Show 7 quoted lines
> John Keeping <john@keeping.me.uk> writes: > > > How about something like "--symlink-all" where the everything in the > > right-hand tree is symlink'd? > > Does it even have to be conditional? What is the situation when you > do not want symbolic links?
When you're not comparing the working tree.
If we can reliably say "the RHS is the working tree" then it could be unconditional, but I haven't thought about how to do that - I can't see a particularly easy way to check for that; is it sufficient to say "there is no more than one non-option to the left of '--' and '--cached' is not among the options"?
John