All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Christian Thaeter <ct@pipapo.org>
Cc: git@vger.kernel.org
Subject: Re: libgit: git_setup_directory() is not reentrant
Date: Fri, 04 Jan 2008 12:40:41 -0800	[thread overview]
Message-ID: <7vd4shjpdi.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <477E67C5.5020301@pipapo.org> (Christian Thaeter's message of "Fri, 04 Jan 2008 18:07:17 +0100")

Christian Thaeter <ct@pipapo.org> 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.

      reply	other threads:[~2008-01-04 20:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-04 17:07 libgit: git_setup_directory() is not reentrant Christian Thaeter
2008-01-04 20:40 ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vd4shjpdi.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=ct@pipapo.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.