Re: [RFC] get_sha1() shorthands for blob/tree objects
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 19, 2006, 00:27 UTC
- Message-ID
- <7vy7y2csv8.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0604181627101.3701@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 7 quoted lines
> [ NOTE! The reason I put "RFC" in the subject rather than "PATCH" is that > I'm not 100% sure this isn't just a "shiny object" of mine rather than a > really useful thing to do. What do people think? Have you ever wanted to > access individual files in some random revision? Do you think this is > useful? I think it's cool and _may_ be useful, but I'm not going to > really push this patch. Consider it a throw-away patch unless somebody > else finds it intriguing enough.. ]
Yes, I wanted to do this myself for a while. The only issue I might have is what the separator character between rev and path should be.