remote.c: simplify a bit of code using git_config_string()
commitb4b634352de7de5f824eb4cf1ccb2a656f801adc
authorRamkumar Ramachandra <artagnon@gmail.com>
Tue, 2 Apr 2013 07:40:29 +0000 (2 13:10 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2013 17:41:41 +0000 (2 10:41 -0700)
tree38e4f0c861dfaaec901f1fe82011e54d36cf5656
parentcc3e4eba723570bf77902c017611ee02bb86c8b3
remote.c: simplify a bit of code using git_config_string()

A small segment where handle_config() parses the branch.remote
configuration variable can be simplified using git_config_string().

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c