Re: Since when is a tag a commit?
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Aug 8, 2006, 03:28 UTC
- Message-ID
- <Pine.LNX.4.64.0608072325390.9789@iabervon.org>
- In-Reply-To
- <20060808021251.GA19548@spearce.org>
On Mon, 7 Aug 2006, Shawn Pearce wrote:
> What the heck is going on? Since when did git cat-file happily > consider a tag to be a tag, a commit and a tree? Its that > intentional that we're peeling back the object to the requested type?
I think it's done that for a long time now. All of the other commands that take a tree or a commit will accept a tag, so why shouldn't "git cat-file tree"?
-Daniel *This .sig left intentionally blank*