Fix git-rev-parse over-eager errors
commit9523a4c2fcd7bbccbbddb998eef891ae83cf91a3
authorLinus Torvalds <torvalds@osdl.org>
Sun, 5 Feb 2006 19:58:34 +0000 (5 11:58 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 5 Feb 2006 21:44:59 +0000 (5 13:44 -0800)
treea405858a97f95ca8fbecfa782f55d5e0b8bd39ad
parent7334f06ce6c53e161d1c183a5f93a23992b3c440
Fix git-rev-parse over-eager errors

Using "--verify" together with "--no-flags" makes perfect sense, but
git-rev-parse would complain about it when it saw a flag, even though it
would never actually use/output that flag.

This fixes it.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-parse.c