git-2.22.0/run-command.h
/**
 * Convenience wrapper around pipe_command for the common case
 * of capturing only stdout.
 */
Convenience wrapper around pipe_command for the common case
of capturing only stdout.
Convenience wrapper around pipe_command for the common case of capturing only stdout .
static inline int capture_command(struct child_process *cmd,
				  struct strbuf *out,
				  size_t hint)
{
	return pipe_command(cmd, NULL, 0, out, hint, NULL, 0);
}
static inline int capture_command ( struct child_process * cmd , struct strbuf * out , size_t hint ) { return pipe_command ( cmd , NULL , 0 , out , hint , NULL , 0 ) ; }
Convenience wrapper around pipe_command for the common case
 of capturing only stdout.
Convenience wrapper around pipe_command for the common case of capturing only stdout .