Re: change of git-diff-tree and symlinks
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 25, 2005, 22:47 UTC
- Message-ID
- <Pine.LNX.4.58.0505251544250.2307@ppc970.osdl.org>
- In-Reply-To
- <20050525222622.GA8552@vrfy.org>
On Thu, 26 May 2005, Kay Sievers wrote:
> > If we introduce 'T', how is a content _and_ a type change represented > if they happen at the same time?
A 'T' _always_ implies a content change, imho.
Yes, that strange udev changeset actually had files that had the same content as the symlinks, but from a patch perspective, that should probably really still be a "file got entirely deleted" + "we created a symlink with new content". Anything else just doesn't make any sense.
So in that way, 'T' really is different from 'M'. 'M' implies a patch (which might be empty, of course), while 'T' implies that the old thing was deleted and entirely replaced with something totally different.
Linus