git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RFH: git show HEAD:$SUBMODULE
@ 2009-02-05 16:46 Johannes Schindelin
  2009-02-05 17:35 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Schindelin @ 2009-02-05 16:46 UTC (permalink / raw)
  To: git

Hi,

at the moment, 'show HEAD:$SUBMODULE' fails horribly, as git-show abuses 
the revision walker to parse the command line parameters, and the revision 
walker does not like a non-existing commit.

Instead, it would be nicer to show the user something like

	HEAD:$SUBMODULE
	submodule at commit $COMMIT_NAME

However, I have no clue how to go about getting that.  I want to avoid 
having to parse the parameters twice, but I also do not want to fsck up 
the revision walker...

Ideas?

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-05 17:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-05 16:46 RFH: git show HEAD:$SUBMODULE Johannes Schindelin
2009-02-05 17:35 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).