Re: [PATCH] Document the simple way of using of git-cat-file
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 14, 2006, 00:29 UTC
- Message-ID
- <Pine.LNX.4.63.0612140127520.3635@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <elq3pa$93b$1@sea.gmane.org>
Hi,
On Thu, 14 Dec 2006, Jakub Narebski wrote:
Show 8 quoted lines
> Robin Rosenberg wrote: > > > Since you can give a version and a path name to git-cat-file, > > mention it in the man page. > > Very nice, with the exception that git cat-file can be used also > for trees and commits (although hit-ls-tree and git-show are usually > used) and for tags, not only for files.
The point is: you are much more likely to look at a blob that at a tree. And if you want to do that, you can always use git-ls-tree.
But as I mentioned in another thread, I'd rather see git-show do the job of showing blobs, too, in addition to commits as it does already.
Ciao, Dscho