Subject: Re: libgit: git_setup_directory() is not reentrant

From: Junio C Hamano <[email-masked]>
Date: Fri, 04 Jan 2008 12:40:41 -0800

Christian Thaeter <[email-masked]> 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.