diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2017-06-09 20:17:30 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-12 13:39:43 -0700 |
commit | 9ada7aee198c3644604eac1ff7cc50284b48d85f (patch) | |
tree | 1e3c317466555b5e75a77fe3d766b98731f32362 /gettext.c | |
parent | revision.h: turn rev_info.early_output back into an unsigned int (diff) | |
download | tgif-9ada7aee198c3644604eac1ff7cc50284b48d85f.tar.xz |
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 <szeder.dev@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gettext.c')
0 files changed, 0 insertions, 0 deletions