config: simplify git_config_include()
commit37007c3a87f3d78f533533f96a0d49bd0d520671
authorRené Scharfe <l.s.r@web.de>
Sat, 30 Aug 2014 16:07:05 +0000 (30 18:07 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Sep 2014 17:56:43 +0000 (2 10:56 -0700)
tree17503f59e46837813e37eee0a8f88c008c47d7a3
parent96db324a73fdada6fbe7b63221986f8f18cc63b0
config: simplify git_config_include()

Instead of using skip_prefix() to check the first part of the string
and then strcmp() to check the rest, simply use strcmp() to check the
whole string.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c