* .git/index
@ 2009-03-25 17:16 Jon Smirl
2009-03-25 17:52 ` .git/index Julian Phillips
2009-03-25 18:02 ` .git/index Junio C Hamano
0 siblings, 2 replies; 4+ messages in thread
From: Jon Smirl @ 2009-03-25 17:16 UTC (permalink / raw)
To: Git Mailing List
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?
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: .git/index
2009-03-25 17:16 .git/index Jon Smirl
@ 2009-03-25 17:52 ` Julian Phillips
2009-03-25 18:03 ` .git/index Jon Smirl
2009-03-25 18:02 ` .git/index Junio C Hamano
1 sibling, 1 reply; 4+ messages in thread
From: Julian Phillips @ 2009-03-25 17:52 UTC (permalink / raw)
To: Jon Smirl; +Cc: Git Mailing List
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.
--
Julian
---
<MFGolfBal> rit/ara: There's something really demented about UNIX
underwear...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: .git/index
2009-03-25 17:16 .git/index Jon Smirl
2009-03-25 17:52 ` .git/index Julian Phillips
@ 2009-03-25 18:02 ` Junio C Hamano
1 sibling, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2009-03-25 18:02 UTC (permalink / raw)
To: Jon Smirl; +Cc: Git Mailing List
The index is associated with the work tree. Since gitweb is supposed to
read and show the history and never the work tree state, it would be a bug
if it required it to operate.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: .git/index
2009-03-25 17:52 ` .git/index Julian Phillips
@ 2009-03-25 18:03 ` Jon Smirl
0 siblings, 0 replies; 4+ messages in thread
From: Jon Smirl @ 2009-03-25 18:03 UTC (permalink / raw)
To: Julian Phillips; +Cc: Git Mailing List
On Wed, Mar 25, 2009 at 1:52 PM, Julian Phillips
<julian@quantumfyre.co.uk> wrote:
> 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.
>
> --
> Julian
>
> ---
> <MFGolfBal> rit/ara: There's something really demented about UNIX
> underwear...
>
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-03-25 18:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25 17:16 .git/index Jon Smirl
2009-03-25 17:52 ` .git/index Julian Phillips
2009-03-25 18:03 ` .git/index Jon Smirl
2009-03-25 18:02 ` .git/index Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).