git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RFC: what should git rev-parse --flags HEAD do?
@ 2010-09-25 10:11 Jon Seymour
  2010-09-25 17:54 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Seymour @ 2010-09-25 10:11 UTC (permalink / raw)
  To: Git Mailing List, Brian Gernhardt, Brandon Casey, Junio C Hamano

The documentation for git rev-parse --flags currently states:

    Do not output non-flag parameters.

Therefore, one might expect:
  $ git rev-parse --flags HEAD

to produce no output.

In fact, it outputs the sha1 hash of HEAD.

Can anyone see a reason why git rev-parse --flags should not be
modified to match the documentation?

If there is agreement that this should change, I can re-roll my
current rev-parse series to include such a change.

jon.

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

end of thread, other threads:[~2010-09-25 19:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-25 10:11 RFC: what should git rev-parse --flags HEAD do? Jon Seymour
2010-09-25 17:54 ` Junio C Hamano
2010-09-25 19:38   ` Jon Seymour
2010-09-25 19:46   ` Jon Seymour

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).