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

Re: Using overlay filesystem for "other" files idea

From
Tomas Carnecky <tom@dbservice.com>
Date
Dec 23, 2010, 05:27 UTC
Message-ID
<4D12DDD5.4050103@dbservice.com>
In-Reply-To
<AANLkTi=f2MXoWE_Dx_thWb3VXGu-V-9cJAC8F_RzGAg=@mail.gmail.com>
  On 12/23/10 12:02 AM, Evgeniy Ivanov wrote:
Show 7 quoted lines
> 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).
Use ccache.
> 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.
Fix your Makefiles. Or run git clean, see below.
Show 8 quoted lines
> 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.
git clean -dfx.
Or use two different working trees. See contrib/workdir/git-new-workdir.
tom
Previous: Evgeniy IvanovNext: Evgeniy Ivanov
Message 2 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.