Re: Cherry-pick particular object
- From
Petr Baudis <pasky@suse.cz>
- Date
- Mar 28, 2006, 23:28 UTC
- Message-ID
- <20060328232851.GE27689@pasky.or.cz>
- In-Reply-To
- <Pine.LNX.4.64.0603281512260.15714@g5.osdl.org>
Dear diary, on Wed, Mar 29, 2006 at 01:24:13AM CEST, I got a letter where Linus Torvalds <torvalds@osdl.org> said that...
Show 22 quoted lines
> 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@osdl.org> 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.