| 83 | } |
| 84 | |
| 85 | void sq_quote_argv(struct strbuf *dst, const char **argv) |
| 86 | { |
| 87 | int i; |
| 88 | |
| 89 | /* Copy into destination buffer. */ |
| 90 | strbuf_grow(dst, 255); |
| 91 | for (i = 0; argv[i]; ++i) { |
| 92 | strbuf_addch(dst, ' '); |
| 93 | sq_quote_buf(dst, argv[i]); |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | /* |
| 98 | * Legacy function to append each argv value, quoted as necessasry, |
no test coverage detected