* Convenience wrapper around pipe_command for the common case * of capturing only stdout. */
| 270 | * of capturing only stdout. |
| 271 | */ |
| 272 | static inline int capture_command(struct child_process *cmd, |
| 273 | struct strbuf *out, |
| 274 | size_t hint) |
| 275 | { |
| 276 | return pipe_command(cmd, NULL, 0, out, hint, NULL, 0); |
| 277 | } |
| 278 | |
| 279 | /* |
| 280 | * The purpose of the following functions is to feed a pipe by running |
no test coverage detected