{"thread":{"id":"31908","subject":"tag storage format","startedAt":"2012-10-22T22:23:33Z","lastAt":"2012-10-23T18:28:15Z","messageCount":3,"participants":["Uri Moszkowicz","Andreas Schwab"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"201711","messageId":"CAMJd5ATiAx09eAEo1=6+=hPv=5c6qtOiLRG5jrQn5dfCKUrvMQ@mail.gmail.com","threadId":"31908","inReplyTo":null,"subject":"tag storage format","fromName":"Uri Moszkowicz","fromEmail":"uri@4refs.com","sentAt":"2012-10-22T22:23:33Z","receivedAt":"2012-10-22T22:23:33Z","isPatch":false,"sender":{"key":"uri@4refs.com","avatar":null},"body":"I'm doing some testing on a large Git repository and am finding local\nclones to take a very long time. After some investigation I've\ndetermined that the problem is due to a very large number of tags\n(~38k). Even with hard links, it just takes a really long time to\nvisit that many inodes. As it happens, I don't care for most of these\ntags and will prune many of them anyway but I expect that over time it\nwill creep back up again. Have others reported this problem before and\nis there a workaround? Perhaps Git should switch to a single-file\nblock text or binary format once a large number of tags becomes\npresent in a repository.\n"},{"id":"201712","messageId":"m2vce2xh06.fsf@igel.home","threadId":"31908","inReplyTo":"CAMJd5ATiAx09eAEo1=6+=hPv=5c6qtOiLRG5jrQn5dfCKUrvMQ@mail.gmail.com","subject":"Re: tag storage format","fromName":"Andreas Schwab","fromEmail":"schwab@linux-m68k.org","sentAt":"2012-10-22T22:46:01Z","receivedAt":"2012-10-22T22:46:01Z","isPatch":false,"sender":{"key":"schwab@linux-m68k.org","avatar":"https://avatars.githubusercontent.com/u/2175493?v=4"},"body":"Uri Moszkowicz <uri@4refs.com> writes:\n\n> Perhaps Git should switch to a single-file block text or binary format\n> once a large number of tags becomes present in a repository.\n\nThis is what git pack-refs (called by git gc) does (by putting the refs\nin .git/packed-refs).\n\nAndreas.\n\n-- \nAndreas Schwab, schwab@linux-m68k.org\nGPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5\n\"And now for something completely different.\"\n"},{"id":"201742","messageId":"CAMJd5AQxowh+XHbZzt9-=DhbYpKkozxNacxxi_KmVDuxMXsD7A@mail.gmail.com","threadId":"31908","inReplyTo":"m2vce2xh06.fsf@igel.home","subject":"Re: tag storage format","fromName":"Uri Moszkowicz","fromEmail":"uri@4refs.com","sentAt":"2012-10-23T18:28:15Z","receivedAt":"2012-10-23T18:28:15Z","isPatch":false,"sender":{"key":"uri@4refs.com","avatar":null},"body":"That did the trick - thanks!\n\nOn Mon, Oct 22, 2012 at 5:46 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:\n>\n> Uri Moszkowicz <uri@4refs.com> writes:\n>\n> > Perhaps Git should switch to a single-file block text or binary format\n> > once a large number of tags becomes present in a repository.\n>\n> This is what git pack-refs (called by git gc) does (by putting the refs\n> in .git/packed-refs).\n>\n> Andreas.\n>\n> --\n> Andreas Schwab, schwab@linux-m68k.org\n> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5\n> \"And now for something completely different.\"\n"}]}