{"thread":{"id":"18539","subject":".git/index","startedAt":"2009-03-25T17:16:59Z","lastAt":"2009-03-25T18:03:43Z","messageCount":4,"participants":["Jon Smirl","Julian Phillips","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"109375","messageId":"9e4733910903251016n117c37fdp94f91b2862cd7bf@mail.gmail.com","threadId":"18539","inReplyTo":null,"subject":".git/index","fromName":"Jon Smirl","fromEmail":"jonsmirl@gmail.com","sentAt":"2009-03-25T17:16:59Z","receivedAt":"2009-03-25T17:16:59Z","isPatch":false,"sender":{"key":"jonsmirl@gmail.com","avatar":"https://gravatar.com/avatar/cff3bf5bfdfa6708b905712ff91f0f9b8aaca161659f38c02b787920d5d28b7e?d=mp&s=160"},"body":"I pushed a repo up to my server. I want to view this repo with gitweb\nbut it is not visible in my project list like my other projects. I\nsuspect this is because the newly pushed repo is missing .git/index. I\nran update-server-info on the repo and that didn't create .git/index.\nWhat command builds this index?\n\n-- \nJon Smirl\njonsmirl@gmail.com\n"},{"id":"109381","messageId":"alpine.LNX.2.00.0903251749270.11062@reaper.quantumfyre.co.uk","threadId":"18539","inReplyTo":"9e4733910903251016n117c37fdp94f91b2862cd7bf@mail.gmail.com","subject":"Re: .git/index","fromName":"Julian Phillips","fromEmail":"julian@quantumfyre.co.uk","sentAt":"2009-03-25T17:52:34Z","receivedAt":"2009-03-25T17:52:34Z","isPatch":false,"sender":{"key":"julian@quantumfyre.co.uk","avatar":"https://avatars.githubusercontent.com/u/948888?v=4"},"body":"On Wed, 25 Mar 2009, Jon Smirl wrote:\n\n> I pushed a repo up to my server. I want to view this repo with gitweb\n> but it is not visible in my project list like my other projects. I\n> suspect this is because the newly pushed repo is missing .git/index. I\n> ran update-server-info on the repo and that didn't create .git/index.\n> What command builds this index?\n\n.git/index is the default name used for what is commonly referred to as \nthe staging area these days.  It's only needed when you have a work tree, \nand is expected to be absent from a bare repository.\n\nA more likely cause for a repository to not be picked up by gitweb is \nfile permissions.\n\n-- \nJulian\n\n  ---\n<MFGolfBal> rit/ara:  There's something really demented about UNIX\n             underwear...\n"},{"id":"109382","messageId":"7v1vsl7a78.fsf@gitster.siamese.dyndns.org","threadId":"18539","inReplyTo":"9e4733910903251016n117c37fdp94f91b2862cd7bf@mail.gmail.com","subject":"Re: .git/index","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-03-25T18:02:03Z","receivedAt":"2009-03-25T18:02:03Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"The index is associated with the work tree.  Since gitweb is supposed to\nread and show the history and never the work tree state, it would be a bug\nif it required it to operate.\n"},{"id":"109385","messageId":"9e4733910903251103m7c78b2e7lee21a25a140bbeca@mail.gmail.com","threadId":"18539","inReplyTo":"alpine.LNX.2.00.0903251749270.11062@reaper.quantumfyre.co.uk","subject":"Re: .git/index","fromName":"Jon Smirl","fromEmail":"jonsmirl@gmail.com","sentAt":"2009-03-25T18:03:43Z","receivedAt":"2009-03-25T18:03:43Z","isPatch":false,"sender":{"key":"jonsmirl@gmail.com","avatar":"https://gravatar.com/avatar/cff3bf5bfdfa6708b905712ff91f0f9b8aaca161659f38c02b787920d5d28b7e?d=mp&s=160"},"body":"On Wed, Mar 25, 2009 at 1:52 PM, Julian Phillips\n<julian@quantumfyre.co.uk> wrote:\n> On Wed, 25 Mar 2009, Jon Smirl wrote:\n>\n>> I pushed a repo up to my server. I want to view this repo with gitweb\n>> but it is not visible in my project list like my other projects. I\n>> suspect this is because the newly pushed repo is missing .git/index. I\n>> ran update-server-info on the repo and that didn't create .git/index.\n>> What command builds this index?\n>\n> .git/index is the default name used for what is commonly referred to as the\n> staging area these days.  It's only needed when you have a work tree, and is\n> expected to be absent from a bare repository.\n>\n> A more likely cause for a repository to not be picked up by gitweb is file\n> permissions.\n\nIt needed to be added to the gitweb projects file.\n\n>\n> --\n> Julian\n>\n>  ---\n> <MFGolfBal> rit/ara:  There's something really demented about UNIX\n>            underwear...\n>\n\n\n\n-- \nJon Smirl\njonsmirl@gmail.com\n"}]}