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

Re: Feature request: thin checkout

From
Johannes Sixt <j.sixt@eudaptics.com>
Date
Jun 15, 2007, 10:44 UTC
Message-ID
<46726D9F.C4801AA@eudaptics.com>
In-Reply-To
<20070615085346.8027.qmail@science.horizon.com>
linux@horizon.com wrote:
Show 6 quoted lines
> Wouldn't it be nice if there were a way to tell git-update-index and
> git-checkout index that certain directories are not in the working
> directory, but don't worry.  Just pretend they exist and match the index.
> 
> Then I could mark much of arch/* as "don't bother" and save a pile of
> disk space per working directory.

Currently, directories are not registered in the index. For this reason, empty directories cannot be versioned. One day, will want to support this, and for this purpose, directories must also be registered in the index. Once this infrastructure is in place, the "don't bother" flag will be a no-brainer, methinks.

-- Hannes
Previous: Rogan Dawes
Message 3 of 3 in “Feature request: thin checkout”
  1. linux@horizon.comJun 15, 2007
  2. Rogan DawesJun 15, 2007
  3. Johannes SixtJun 15, 2007

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.