Re: git-show, was Re: What's in git.git (stable)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 14, 2006, 10:25 UTC
- Message-ID
- <Pine.LNX.4.63.0612141121010.3635@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vbqm6anjz.fsf@assigned-by-dhcp.cox.net>
Hi,
On Thu, 14 Dec 2006, Junio C Hamano wrote:
Show 16 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > Hi, > > > > On Wed, 13 Dec 2006, Junio C Hamano wrote: > > > >> One minor issue we may need to decide is what to do when show is > >> given a tag object. Personally I think the current behaviour of > >> dereferencing it to commit is fine (people who want to see the > >> tag can always do 'git-verify-tag -v'). > > > > How about adding the command line option "--tag" to git-show, which makes > > it only show that tag. I'd also vote for a "--verbose|-v" flag to show the > > contents of the tag _before_ showing the referenced object. > > Sounds sensible. Please make it so.
Actually, I rethought it. A tag _without_ what it tags makes no sense. See my upcoming patch. And git-show really is as Porcelain as it gets, so it should Do What I Mean.
Ciao, Dscho