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...