revision.c: stricter parsing of '--no-{min,max}-parents'
authorSZEDER Gábor <redacted>
Fri, 9 Jun 2017 18:17:30 +0000 (20:17 +0200)
committerJunio C Hamano <redacted>
Mon, 12 Jun 2017 20:39:43 +0000 (13:39 -0700)
commit9ada7aee198c3644604eac1ff7cc50284b48d85f
tree1e3c317466555b5e75a77fe3d766b98731f32362
parente35b6ac56f6582f85319ebc86d4a9b42ca5a21cb
revision.c: stricter parsing of '--no-{min,max}-parents'

These two options are parsed using starts_with(), allowing things like
'git log --no-min-parents-foobarbaz' to succeed.

Use strcmp() instead.

Signed-off-by: SZEDER Gábor <redacted>
Reviewed-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
revision.c
git clone https://git.99rst.org/PROJECT