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

Re: Git: "No you can't handle my root!" (?)

From
Steven Noonan <steven@uplinklabs.net>
Date
Oct 12, 2009, 18:06 UTC
Message-ID
<f488382f0910121106h64571b93jb92372a1d7720b10@mail.gmail.com>
In-Reply-To
<20091012135910.ujqifycf9cwsk4ss@webmail.demarque.qc.ca>

I've had this problem too, but I eventually realized it was git's way of telling me I shouldn't do that. But even so, it'd be good if we _could_.

- Steven
On Mon, Oct 12, 2009 at 10:59 AM,  <sylvain@demarque.qc.ca> wrote:
Show 43 quoted lines
> Hello there. I know I was being goofy, but here is the real down to
> earth question :
>
> Is there a known bug/feature that prevents Git from being used at "/"?
> It seems that there is a problem either at "git init" or "git add"
> when the repository is located at "/.git". (Git 1.6.4.4, see example
> below)
>
> Thank you!
>
> Quoting sylvain@demarque.qc.ca:
>
>> Git is good, Git is great! All praise the Git! :-D
>>
>> What do you people think about this strange phenomena?
>>
>> localhost / # git --version
>> git version 1.6.4.4
>>
>> localhost / # git init
>> Initialized empty Git repository in //.git/
>>
>> localhost / # cd etc
>> localhost etc # git add X11/xorg.conf
>> fatal: pathspec 'etc/X11/xorg.conf' did not match any files
>>
>> Aside from the obvious question of why would I want to Git the whole
>> tree ("But all files deserve the Holy Presence of the Git!"), why does
>> Git refuse the love offering from "/etc/X11/xorg.conf"? Is it because
>> it contains font directory configurations?
>>
>> Commit and [ENTER] to all,
>>
>> S! :-)
>> --
>> To unsubscribe from this list: send the line "unsubscribe git" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
Previous: sylvain@demarque.qc.caNext: Alex Riesen
Message 3 of 18 in “Git: "No you can't handle my root!" (?)”
  1. sylvain@demarque.qc.caOct 12, 2009
  2. sylvain@demarque.qc.caOct 12, 2009
  3. Steven NoonanOct 12, 2009
  4. Alex RiesenOct 12, 2009
  5. sylvain@demarque.qc.caOct 12, 2009
  6. Alex RiesenOct 12, 2009
  7. Jeff KingOct 12, 2009
  8. sylvain@demarque.qc.caOct 12, 2009
  9. Tony FinchOct 13, 2009
  10. Markus HeidelbergOct 12, 2009
  11. Matthieu MoyOct 12, 2009
  12. Daniele SegatoOct 12, 2009
  13. Avery PennarunOct 12, 2009
  14. sylvain@demarque.qc.caOct 12, 2009
  15. Jeff KingOct 13, 2009
  16. Daniele SegatoOct 13, 2009
  17. Jeff KingOct 13, 2009
  18. Wesley J. LandakerOct 15, 2009

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.