From: Junio C Hamano Date: Thu, 05 Jun 2008 23:12:00 GMT Subject: Re: [PATCH 07/10] git-fmt-merge-msg: make it useable from other builtins Message-ID: <7vd4mvzdbz.fsf@gitster.siamese.dyndns.org> In-Reply-To: <2e4b20178405cf993ce9e0f1ffe4ac402a96fd03.1212698317.git.vmiklos@frugalware.org> Miklos Vajna writes: > Move all functionality (except config and option parsing) from > cmd_fmt_merge_msg() to fmt_merge_msg(), so that other builtins can use > it without a child process. > > All functions have been changed to use strbufs, and now only > cmd_fmt_merge_msg() reads directly from a file / writes anything to > stdout. > > Signed-off-by: Miklos Vajna The word in the title should be "usable" (s/sea/sa/). Other than that, looks like a quite straightforward conversion.