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

Re: .git/index

From
Julian Phillips <julian@quantumfyre.co.uk>
Date
Mar 25, 2009, 17:52 UTC
Message-ID
<alpine.LNX.2.00.0903251749270.11062@reaper.quantumfyre.co.uk>
In-Reply-To
<9e4733910903251016n117c37fdp94f91b2862cd7bf@mail.gmail.com>
On Wed, 25 Mar 2009, Jon Smirl wrote:
Show 5 quoted lines
> 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.

-- 
Julian

  ---
<MFGolfBal> rit/ara:  There's something really demented about UNIX
             underwear...
Previous: Jon SmirlNext: Jon Smirl
Message 2 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.