]> git.ipfire.org Git - thirdparty/git.git/commit - revision.c
revision.c: use skip_prefix() in handle_revision_opt()
authorSZEDER Gábor <szeder.dev@gmail.com>
Fri, 9 Jun 2017 18:17:32 +0000 (20:17 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Jun 2017 20:39:49 +0000 (13:39 -0700)
commit479b3d978597110208d5a7623a626b28d5c801e0
treeb0da241355b67e46b364deac8d35e8a09b820d43
parentdffc651ed191ff0eb3cfd0e8df83a423b4dae994
revision.c: use skip_prefix() in handle_revision_opt()

Instead of starts_with() and a bunch of magic numbers.

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>
revision.c