From: Johannes Schindelin Date: Thu, 14 Dec 2006 10:25:53 GMT Subject: Re: git-show, was Re: What's in git.git (stable) Message-ID: In-Reply-To: <7vbqm6anjz.fsf@assigned-by-dhcp.cox.net> Hi, On Thu, 14 Dec 2006, Junio C Hamano wrote: > Johannes Schindelin 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