diff: use skip_to_optional_arg()
commit948cbe6703d0d1e3ba65fd10037bafd1b8b87696
authorChristian Couder <christian.couder@gmail.com>
Sat, 9 Dec 2017 20:40:09 +0000 (9 21:40 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Dec 2017 00:10:12 +0000 (11 16:10 -0800)
treed61d6a10e8fd30bc19a964fc4542ddf4c0a45aaa
parent72885a6d5181ca090039917b6ce76b952ebb59b1
diff: use skip_to_optional_arg()

Let's simplify diff option parsing using skip_to_optional_arg().

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c