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

Re: .git/index

From
Jon Smirl <jonsmirl@gmail.com>
Date
Mar 25, 2009, 18:03 UTC
Message-ID
<9e4733910903251103m7c78b2e7lee21a25a140bbeca@mail.gmail.com>
In-Reply-To
<alpine.LNX.2.00.0903251749270.11062@reaper.quantumfyre.co.uk>

On Wed, Mar 25, 2009 at 1:52 PM, Julian Phillips <julian@quantumfyre.co.uk> wrote:

Show 14 quoted lines
> On Wed, 25 Mar 2009, Jon Smirl wrote:
>
>> I pushed a repo up to my server. I want to view this repo with gitweb
>> but it is not visible in my project list like my other projects. I
>> suspect this is because the newly pushed repo is missing .git/index. I
>> ran update-server-info on the repo and that didn't create .git/index.
>> What command builds this index?
>
> .git/index is the default name used for what is commonly referred to as the
> staging area these days.  It's only needed when you have a work tree, and is
> expected to be absent from a bare repository.
>
> A more likely cause for a repository to not be picked up by gitweb is file
> permissions.
It needed to be added to the gitweb projects file.
Show 8 quoted lines
>
> --
> Julian
>
>  ---
> <MFGolfBal> rit/ara:  There's something really demented about UNIX
>            underwear...
>
-- 
Jon Smirl
jonsmirl@gmail.com
Previous: Julian PhillipsNext: Junio C Hamano
Message 3 of 4 in “.git/index”
  1. Jon SmirlMar 25, 2009
  2. Julian PhillipsMar 25, 2009
  3. Jon SmirlMar 25, 2009
  4. Junio C HamanoMar 25, 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.