[PATCH 0/3] Use skip_prefix() in handle_revision_{,pseudo_}opt()
- From
SZEDER Gábor <szeder.dev@gmail.com>
- Date
- Jun 2, 2017, 19:10 UTC
- Message-ID
- <20170602191010.16834-1-szeder.dev@gmail.com>
While at it, the first one fixes a minor bug, which allowed e.g. 'git log --no-min-parents-foobarbaz' to succeed.
The other two are fairly straightforward starts_with() -> skip_prefix() conversions.
SZEDER Gábor (3):
revision.c: stricter parsing of '--no-{min,max}-parents'
revision.c: use skip_prefix() in handle_revision_opt()
revision.c: use skip_prefix() in handle_revision_pseudo_opt()revision.c | 76 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 39 insertions(+), 37 deletions(-)
-- 2.13.0.420.g54001f015