diff: use skip_to_optional_arg_default()
authorChristian Couder <redacted>
Sat, 9 Dec 2017 20:40:10 +0000 (21:40 +0100)
committerJunio C Hamano <redacted>
Tue, 12 Dec 2017 00:10:12 +0000 (16:10 -0800)
commitcf81f94da45db8a030073e6ef3370f8498e9ce78
tree2c1164e354fdef898ad42932a1acdc5ccab7db82
parent948cbe6703d0d1e3ba65fd10037bafd1b8b87696
diff: use skip_to_optional_arg_default()

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

Signed-off-by: Christian Couder <redacted>
Signed-off-by: Junio C Hamano <redacted>
diff.c
git clone https://git.99rst.org/PROJECT