* tag storage format
@ 2012-10-22 22:23 Uri Moszkowicz
2012-10-22 22:46 ` Andreas Schwab
0 siblings, 1 reply; 3+ messages in thread
From: Uri Moszkowicz @ 2012-10-22 22:23 UTC (permalink / raw)
To: git
I'm doing some testing on a large Git repository and am finding local
clones to take a very long time. After some investigation I've
determined that the problem is due to a very large number of tags
(~38k). Even with hard links, it just takes a really long time to
visit that many inodes. As it happens, I don't care for most of these
tags and will prune many of them anyway but I expect that over time it
will creep back up again. Have others reported this problem before and
is there a workaround? Perhaps Git should switch to a single-file
block text or binary format once a large number of tags becomes
present in a repository.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tag storage format
2012-10-22 22:23 tag storage format Uri Moszkowicz
@ 2012-10-22 22:46 ` Andreas Schwab
2012-10-23 18:28 ` Uri Moszkowicz
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2012-10-22 22:46 UTC (permalink / raw)
To: Uri Moszkowicz; +Cc: git
Uri Moszkowicz <uri@4refs.com> writes:
> Perhaps Git should switch to a single-file block text or binary format
> once a large number of tags becomes present in a repository.
This is what git pack-refs (called by git gc) does (by putting the refs
in .git/packed-refs).
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."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tag storage format
2012-10-22 22:46 ` Andreas Schwab
@ 2012-10-23 18:28 ` Uri Moszkowicz
0 siblings, 0 replies; 3+ messages in thread
From: Uri Moszkowicz @ 2012-10-23 18:28 UTC (permalink / raw)
To: Andreas Schwab; +Cc: git
That did the trick - thanks!
On Mon, Oct 22, 2012 at 5:46 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
>
> Uri Moszkowicz <uri@4refs.com> writes:
>
> > Perhaps Git should switch to a single-file block text or binary format
> > once a large number of tags becomes present in a repository.
>
> This is what git pack-refs (called by git gc) does (by putting the refs
> in .git/packed-refs).
>
> 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."
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-23 18:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22 22:23 tag storage format Uri Moszkowicz
2012-10-22 22:46 ` Andreas Schwab
2012-10-23 18:28 ` Uri Moszkowicz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).