t5601: add more test cases for IPV6
[gitweb.git] / pathspec.c
index 0be5edbd13863690870dbede0dadfdb879a69d28..9304ee33d75ab9de14e4a7b6dc96f5dd8028c464 100644 (file)
@@ -338,7 +338,7 @@ static void NORETURN unsupported_magic(const char *pattern,
                if (!(magic & m->bit))
                        continue;
                if (sb.len)
-                       strbuf_addstr(&sb, " ");
+                       strbuf_addch(&sb, ' ');
                if (short_magic & m->bit)
                        strbuf_addf(&sb, "'%c'", m->mnemonic);
                else