From: Junio C Hamano Date: Fri, 04 Jan 2008 20:40:41 GMT Subject: Re: libgit: git_setup_directory() is not reentrant Message-ID: <7vd4shjpdi.fsf@gitster.siamese.dyndns.org> In-Reply-To: <477E67C5.5020301@pipapo.org> Christian Thaeter writes: > While working on a git-browser, I noticed that git_setup_directory() is > not reentrant. Yup, that comes from a longstanding design of git that "a command runs once and exits". Do not call that twice, or help the libification effort.