git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Do moves add to repository size?

From
Alex Riesen <raa.lkml@gmail.com>
Date
Dec 31, 2008, 15:17 UTC
Message-ID
<81b0412b0812310717w341f05b5qeb058ff1c2db19d2@mail.gmail.com>
In-Reply-To
<85fafb0c0812310111s552247em5f0ca57b737aedc3@mail.gmail.com>
2008/12/31 Simon Chiang <simon.a.chiang@gmail.com>:
> Hey, I'm quite curious to know if moves/renames duplicate the file
> content in the repository (and hence grow the repository size) or if
> they just change the location of the content.  I want to drastically
> reorganize a repository and I'm wondering if will double it in size.

It wont double its size, but it will grow a little: the tree objects which contain names of the data (the file names) will be all changed.

Previous: demerphqNext: Simon Chiang
Message 3 of 4 in “Do moves add to repository size?”
  1. Simon ChiangDec 31, 2008
  2. demerphqDec 31, 2008
  3. Alex RiesenDec 31, 2008
  4. Simon ChiangDec 31, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.