Dear diary, on Wed, Mar 29, 2006 at 01:24:13AM CEST, I got a letter where Linus Torvalds <torvalds@xxxxxxxx> said that... > On Wed, 29 Mar 2006, Petr Baudis wrote: > > > Dear diary, on Wed, Mar 29, 2006 at 12:44:02AM CEST, I got a letter > > where Linus Torvalds <torvalds@xxxxxxxx> said that... > > > Ie you can have a tree like this: > > > > > > 100644 blob f2ba8f84ab5c1bce84a7b441cb1959cfc7093b7f abc > > > 120000 blob f2ba8f84ab5c1bce84a7b441cb1959cfc7093b7f file > > > > > > where the first one is a regular file called "abc" (which contains the > > > string "abc"), and the second is the _symlink_ that points to "abc". > > > > > > They share the exact same blob, and what distinguishes them is the > > > filemode info from git-read-tree. > > > > Huh? Didn't you rather want to say that "file" will point to a blob > > containing just the "abc" string (the symlink target)? ;-) > > Well no, maybe I should have called the first file something else. > > Both "abc" and "file" from a git perspective have the same _contents_ (the > blob containing the data 'abc'). Oh, I've totally missed the '(which contains the string "abc")' part, sorry. Apparently it's time to sleep for me. :/ -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Right now I am having amnesia and deja-vu at the same time. I think I have forgotten this before. - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html