From: Andreas Schwab <schwab@linux-m68k.org>
To: Greg Price <price@ksplice.com>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] pack-refs: remove newly empty directories
Date: Tue, 06 Jul 2010 20:49:34 +0200 [thread overview]
Message-ID: <m2y6doqwch.fsf@igel.home> (raw)
In-Reply-To: <1278368848-7037-1-git-send-email-price@ksplice.com> (Greg Price's message of "Mon, 5 Jul 2010 18:27:28 -0400")
Greg Price <price@ksplice.com> writes:
> In a large repository which uses directories to organize many refs,
> "git pack-refs --all --prune" does not improve performance so much
> as it should, unless we remove all the now-empty directories as well.
What happens if a parallel running git wants to update a ref in one of
the now-empty directories? Can it get a spurious error after it has
called safe_create_leading_directories?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2010-07-06 18:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-05 22:27 [PATCH] pack-refs: remove newly empty directories Greg Price
2010-07-06 3:02 ` Junio C Hamano
2010-07-06 3:25 ` Greg Price
2010-07-06 23:29 ` [PATCH v2] " Greg Price
2010-07-06 6:10 ` [PATCH] " Johannes Sixt
2010-07-06 6:15 ` Junio C Hamano
2010-07-06 18:49 ` Andreas Schwab [this message]
2010-07-06 19:13 ` Greg Price
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=m2y6doqwch.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=price@ksplice.com \
/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.