Re: How do get a specific version of a particular file?
- From
Theodore Tso <tytso@mit.edu>
- Date
- Feb 27, 2007, 19:09 UTC
- Message-ID
- <20070227190912.GA30080@thunk.org>
- In-Reply-To
- <Pine.LNX.4.64.0702270830260.12485@woody.linux-foundation.org>
On Tue, Feb 27, 2007 at 08:38:59AM -0800, Linus Torvalds wrote:
Show 8 quoted lines
> Everybody has already pointed out how easy this actually is, but your > fundamental mistake was thinking that "only work on a object identifier" > is a bad thing. > > Repeat after me: in git, *everything* is a SHA1 object! > > So the problem you had was that "only". Remove the "only", and realize > that object identifiers will cover _all_ you ever need, and be happy.
Yeah, the problem was that in the git man pages I had read, and the git tutorials that I had read, I had never learned about the <tree>:<path> syntax of object identifiers. So this was more of a documentation problem than anything else --- I did look and trawlled through the documentation for quite a while before posting because I didn't want to look stupid, and I still didn't find it.
- Ted