]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rev-parse.c
git-rev-parse: split "revs" and "non-revs"
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 13 Jun 2005 17:21:11 +0000 (10:21 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 13 Jun 2005 17:21:11 +0000 (10:21 -0700)
commit8ebb0184028d3dcdbc659920523338dd53770b03
tree4d00c3bd953b46826e705de1bd0bf15c51d9b0f7
parentf04b05697c140953c1c50bb2794c41f26ba689b9
git-rev-parse: split "revs" and "non-revs"

Sometimes we only want to output revisions, and sometimes we want to
only see the stuff that wasn't revisions.  Teach git-rev-parse to
understand the "--revs-only" and "--no-revs" flags.
rev-parse.c