{"thread":{"id":"2281","subject":"git objects directory","startedAt":"2005-10-31T15:33:44Z","lastAt":"2005-10-31T16:08:18Z","messageCount":3,"participants":["Lexington Luthor","Nikolai Weibull","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"10851","messageId":"dk5dgq$isv$1@sea.gmane.org","threadId":"2281","inReplyTo":null,"subject":"git objects directory","fromName":"Lexington Luthor","fromEmail":"lexington.luthor@gmail.com","sentAt":"2005-10-31T15:33:44Z","receivedAt":"2005-10-31T15:33:44Z","isPatch":false,"sender":{"key":"lexington.luthor@gmail.com","avatar":null},"body":"Hi,\n\nCan someone please explain why git puts its objects in 256 \nsub-directories of objects instead of directly in the objects directory \nitself? I am trying to learn git (actually cogito), but I still don't \nunderstand  why this structure is used.\n\nWhat is the point of having the first byte of the hash as the directory \nname?\n\n-- LL\n"},{"id":"10853","messageId":"20051031160803.GB15802@puritan.petwork","threadId":"2281","inReplyTo":"dk5dgq$isv$1@sea.gmane.org","subject":"Re: git objects directory","fromName":"Nikolai Weibull","fromEmail":"mailing-lists.git@rawuncut.elitemail.org","sentAt":"2005-10-31T16:08:03Z","receivedAt":"2005-10-31T16:08:03Z","isPatch":false,"sender":{"key":"mailing-lists.git@rawuncut.elitemail.org","avatar":null},"body":"Lexington Luthor wrote:\n\n> Can someone please explain why git puts its objects in 256 \n> sub-directories of objects instead of directly in the objects directory \n> itself? I am trying to learn git (actually cogito), but I still don't \n> understand  why this structure is used.\n\nBecause otherwise there would be a lot of objects (files) in the\nobjects subdirectory, which would cause a lot of problems with many\nfilesystems.\n\nAnyway, you best leave that directory be, but I understand your desire\nto understand :-).\n\n        nikolai\n\n-- \nNikolai Weibull: now available free of charge at http://bitwi.se/!\nBorn in Chicago, IL USA; currently residing in Gothenburg, Sweden.\nmain(){printf(&linux[\"\\021%six\\012\\0\"],(linux)[\"have\"]+\"fun\"-97);}\n"},{"id":"10854","messageId":"Pine.LNX.4.63.0510311707001.5839@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"2281","inReplyTo":"dk5dgq$isv$1@sea.gmane.org","subject":"Re: git objects directory","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2005-10-31T16:08:18Z","receivedAt":"2005-10-31T16:08:18Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Mon, 31 Oct 2005, Lexington Luthor wrote:\n\n> Can someone please explain why git puts its objects in 256 \n> sub-directories of objects instead of directly in the objects directory \n> itself?\n\nSome filesystems have problems with huge directories. And originally the \nplan was to have all objects as files (now the older ones live in packs).\n\nHth,\nDscho\n"}]}