{"thread":{"id":"16942","subject":"Do moves add to repository size?","startedAt":"2008-12-31T09:11:14Z","lastAt":"2008-12-31T15:53:45Z","messageCount":4,"participants":["Simon Chiang","demerphq","Alex Riesen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"99046","messageId":"85fafb0c0812310111s552247em5f0ca57b737aedc3@mail.gmail.com","threadId":"16942","inReplyTo":null,"subject":"Do moves add to repository size?","fromName":"Simon Chiang","fromEmail":"simon.a.chiang@gmail.com","sentAt":"2008-12-31T09:11:14Z","receivedAt":"2008-12-31T09:11:14Z","isPatch":false,"sender":{"key":"simon.a.chiang@gmail.com","avatar":null},"body":"Hey, I'm quite curious to know if moves/renames duplicate the file\ncontent in the repository (and hence grow the repository size) or if\nthey just change the location of the content.  I want to drastically\nreorganize a repository and I'm wondering if will double it in size.\n\nThanks,\n\n- Simon\n"},{"id":"99047","messageId":"9b18b3110812310146r48a15907q2bf88d81b6bf4e0f@mail.gmail.com","threadId":"16942","inReplyTo":"85fafb0c0812310111s552247em5f0ca57b737aedc3@mail.gmail.com","subject":"Re: Do moves add to repository size?","fromName":"demerphq","fromEmail":"demerphq@gmail.com","sentAt":"2008-12-31T09:46:19Z","receivedAt":"2008-12-31T09:46:19Z","isPatch":false,"sender":{"key":"demerphq@gmail.com","avatar":null},"body":"2008/12/31 Simon Chiang <simon.a.chiang@gmail.com>:\n> Hey, I'm quite curious to know if moves/renames duplicate the file\n> content in the repository (and hence grow the repository size) or if\n> they just change the location of the content.  I want to drastically\n> reorganize a repository and I'm wondering if will double it in size.\n\nNo it wont. Git uses a content addressable storage. And since in a\nrename the content doesnt change....\n\nYves\n\n\n-- \nperl -Mre=debug -e \"/just|another|perl|hacker/\"\n"},{"id":"99061","messageId":"81b0412b0812310717w341f05b5qeb058ff1c2db19d2@mail.gmail.com","threadId":"16942","inReplyTo":"85fafb0c0812310111s552247em5f0ca57b737aedc3@mail.gmail.com","subject":"Re: Do moves add to repository size?","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2008-12-31T15:17:26Z","receivedAt":"2008-12-31T15:17:26Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"2008/12/31 Simon Chiang <simon.a.chiang@gmail.com>:\n> Hey, I'm quite curious to know if moves/renames duplicate the file\n> content in the repository (and hence grow the repository size) or if\n> they just change the location of the content.  I want to drastically\n> reorganize a repository and I'm wondering if will double it in size.\n\nIt wont double its size, but it will grow a little: the tree objects\nwhich contain names of the data (the file names) will be all changed.\n"},{"id":"99063","messageId":"85fafb0c0812310753p6c112bd3q37ac772b5b82c05d@mail.gmail.com","threadId":"16942","inReplyTo":"81b0412b0812310717w341f05b5qeb058ff1c2db19d2@mail.gmail.com","subject":"Re: Do moves add to repository size?","fromName":"Simon Chiang","fromEmail":"simon.a.chiang@gmail.com","sentAt":"2008-12-31T15:53:45Z","receivedAt":"2008-12-31T15:53:45Z","isPatch":false,"sender":{"key":"simon.a.chiang@gmail.com","avatar":null},"body":"Great thanks!  I suspected that was the case.\n"}]}