git-rev-parse: re-organize and be more careful
commit023d66ed7b397c811a0693f34851d8590b69247b
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 17:12:55 +0000 (24 10:12 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 17:12:55 +0000 (24 10:12 -0700)
tree54609d96cfcf183bb2a15197e28debfb74948a60
parentf97672225b3b1a2ca57cfc16f49239bed1efcd87
git-rev-parse: re-organize and be more careful

Output default revisions as their hex SHA1 names to be consistent.

Add "--verify" flag that verifies that we output a single ref and not
more (and disables ref arguments).
rev-parse.c