get_remote_group(): handle remotes with single-character names
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 28 Jul 2015 21:08:18 +0000 (23:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jul 2015 21:39:10 +0000 (14:39 -0700)
The code for splitting a whitespace-separated list of values in
"remotes.<name>" had an off-by-one error that caused it to skip over
remotes whose names consist of a single character.

Also remove unnecessary braces.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found