Re: change of git-diff-tree and symlinks
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 25, 2005, 22:43 UTC
- Message-ID
- <7v7jhnhqpp.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20050525222622.GA8552@vrfy.org>
>>>>> "KS" == Kay Sievers <kay.sievers@vrfy.org> writes:
KS> If we introduce 'T', how is a content _and_ a type change represented KS> if they happen at the same time?
If you have this pair in two trees:
ln -s frotz xyzzy
echo -n frotz >xyzzyit is a 'T'. If you instead have these in two trees:
ln -s rezrov xyzzy
echo -n frotz >xyzzyit is also a 'T'.
I do not think we would want patch format to give us a diff showing that string rezrov changing into frotz in the latter example anyway. When we have a type change, content change is irrelevant.