diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-07-28 23:08:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-28 14:39:10 -0700 |
commit | c26f7d7b268c14f9ee7fa9cbeaad3bc890526d49 (patch) | |
tree | 2f18999443f5db110f860fe65bf23123f0aa96ee /ws.c | |
parent | 9a3d637541a5b6fcd84b6f5fa057e597d1696460 (diff) | |
download | git-c26f7d7b268c14f9ee7fa9cbeaad3bc890526d49.tar.gz git-c26f7d7b268c14f9ee7fa9cbeaad3bc890526d49.tar.xz |
get_remote_group(): handle remotes with single-character names
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>
Diffstat (limited to 'ws.c')
0 files changed, 0 insertions, 0 deletions