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

Using overlay filesystem for "other" files idea

From
EIEvgeniy Ivanov <lolkaantimat@gmail.com>
Date
Dec 22, 2010, 23:02 UTC
Message-ID
<AANLkTi=f2MXoWE_Dx_thWb3VXGu-V-9cJAC8F_RzGAg=@mail.gmail.com>
Hello,
I got following idea.

If different branches seriously differ and you switch branches, then it's more likely you will loose most part of build files (e.g. when run build). Also in projects that may have some bugs in build system (e.g. buggy makefiles) there is a chance you will not get clean build environment. E.g. somebody forgot to add include file as dependency in Makefile --- oops, you're in trouble. Even without bugs in build system, some temp files are overwritten each time you run build for a custom branch.

I think using overlays for other files can help much to solve this issue. You can have git repository in regular directory (like now) and overlay fs mounted over this repository (for each branch its own overlay). Another benefit is clearing source tree after build.

What do you think, guys? If it sounds good, I could work on this, maybe even on my work.

-- 
Evgeniy Ivanov
Next: Tomas Carnecky
Message 1 of 3 in “Using overlay filesystem for "other" files idea”
  1. Evgeniy IvanovDec 22, 2010
  2. Tomas CarneckyDec 23, 2010
  3. Evgeniy IvanovDec 23, 2010

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.