git-2.22.0/rerere.c
/*
 * ... and its getline() method implementation
 */
and its getline() method implementation
and its getline () method implementation
static int rerere_file_getline(struct strbuf *sb, struct rerere_io *io_)
{
	struct rerere_io_file *io = (struct rerere_io_file *)io_;
	return strbuf_getwholeline(sb, io->input, '\n');
}
static int rerere_file_getline ( struct strbuf * sb , struct rerere_io * io_ ) { struct rerere_io_file * io = ( struct rerere_io_file * ) io_ ; return strbuf_getwholeline ( sb , io -> input , ' \n ' ) ; }
... and its getline() method implementation
... and its getline () method implementation