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

Re: Temporary git files for the gitdir created on a separate drive in workdir

From
Duy Nguyen <pclouds@gmail.com>
Date
Sep 11, 2018, 16:09 UTC
Message-ID
<CACsJy8DHTbpOmK=cthus3BZ4BtS0YbJS8=K72BCb7=fFx6TPBw@mail.gmail.com>
In-Reply-To
<CAJmnt9aCfMGejO3B5ctZuCjJnE4K-dA1dwyz1uxoZwRBOJJqpg@mail.gmail.com>
On Mon, Sep 10, 2018 at 12:27 PM Hultqvist <hultqvist@silentorbit.com> wrote:
Show 6 quoted lines
>
> Sending again without HTML
>
> Den mån 10 sep. 2018 kl 12:28 skrev Hultqvist <hultqvist@silentorbit.com>:
> >
> > First I need to correct my previous observations.
Please don't top-post.
Show 6 quoted lines
> > Today there appeared new set of config files in the root.
> > I looked into a few of them and found that their content doesn't match that of the repo at "G:/Min enhet".
> > Instead separate files had content from separate git repos within the G drive.
> > These repos are not like the one we're discussed previously, they are completely within G: using a classical .git directory.
> >
> > I guess git is creating the temporary files as close as possible to the root, since "G:\" can't be written to, only "G:\Min enhet". and then copy them to the final destination which in this case is the same drive.

No. Those files should always be created inside the ".git" directory, wherever it is. Failing to creating a file in there is usually a serious error and the command will abort. Unless there is a bug lurking around of course, but I can't nail it down with just code audit.

Since the content of those files does not look like from "G:\Min enhet" repo, do you know which repo they belong to (and where those repo and worktree are)? I ask because if these are submodules of "G:\Min enhet" for example, then we need to head another direction. Or if they are completely unrelated to "G:\Min enhet", oh boy...

-- 
Duy
Previous: Hultqvist
Message 9 of 9 in “Temporary git files for the gitdir created on a separate drive in workdir”
  1. HultqvistSep 7, 2018
  2. Junio C HamanoSep 7, 2018
  3. Duy NguyenSep 8, 2018
  4. HultqvistSep 8, 2018
  5. Duy NguyenSep 8, 2018
  6. Duy NguyenSep 8, 2018
  7. HultqvistSep 9, 2018
  8. HultqvistSep 10, 2018
  9. Duy NguyenSep 11, 2018

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.