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

Re: Problem: staging of an alternative repository

From
PBPasha Bolokhov <pasha.bolokhov@gmail.com>
Date
May 2, 2014, 05:23 UTC
Message-ID
<CAKpPgvcbYf4nJPqYECOe3Kkgk-UnYrWePYkz76NU+-ok_6AqUQ@mail.gmail.com>
In-Reply-To
<20140430213545.GV9218@google.com>
    Hi Jonathan
Thanks for the answers
> I think it's more that it never came up.  Excluding the current
> $GIT_DIR from what "git add" can add (on top of the current rule of
> excluding all instances of ".git") seems like a sensible change,
> assuming it can be done without hurting the code too much. ;-)

I did notice it to have come up in the forums in some related but non-transparent ways.

Anyway, this can hopefully be easily fixed and I can look into it. My understanding is, that unlike the special treatment of ".git", the alternative repository (call it '.gut') should only be "ignored" at the *top* of the work tree and not anywhere deeper inside. And of course, the special treatment (that is, the ignoring) of ".git" should be kept as it is. Am I right?

   regards
Pavel
Previous: Jonathan NiederNext: Duy Nguyen
Message 3 of 7 in “Problem: staging of an alternative repository”
  1. Pasha BolokhovApr 30, 2014
  2. Jonathan NiederApr 30, 2014
  3. Pasha BolokhovMay 2, 2014
  4. Duy NguyenMay 2, 2014
  5. Pasha BolokhovMay 7, 2014
  6. Pasha BolokhovMay 17, 2014
  7. Duy NguyenMay 19, 2014

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.