{"thread":{"id":"8528","subject":"problems with cloning; http vs git protocols?","startedAt":"2007-06-09T15:06:05Z","lastAt":"2007-06-09T15:57:15Z","messageCount":3,"participants":["A.J. Rossini","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"44449","messageId":"1abe3fa90706090806m4014a680x89178bc5698fefda@mail.gmail.com","threadId":"8528","inReplyTo":null,"subject":"problems with cloning; http vs git protocols?","fromName":"A.J. Rossini","fromEmail":"blindglobe@gmail.com","sentAt":"2007-06-09T15:06:05Z","receivedAt":"2007-06-09T15:06:05Z","isPatch":false,"sender":{"key":"blindglobe@gmail.com","avatar":"https://gravatar.com/avatar/d9ce41197180da6d03ab12a6c3e9ff8a030b1677bca88ad65458c2f5566d8550?d=mp&s=160"},"body":"Greetings -\n\nI've been working on a project that I'm finally making available to\nothers, and have set it up on repo.or.cz.\n\nIt originated as an SVN project on a private repository, and I've been\nusing git-svn for communication with the original repo.\n\nAfter having pushed it up\n\n( git push -v git+ssh://repo.or.cz/srv/git/rclg.git master:master\ntonylocal:tonylocal )\n\nI've been working to verify it to write instructions for friends, and\nhere is the basic problem:\n\n git clone http://repo.or.cz/w/rclg.git\n\nfails:\n$ cd /tmp\n$ git clone http://repo.or.cz/w/rclg.git/\nInitialized empty Git repository in /tmp/rclg/.git/\n/usr/bin/git-clone: line 381: cd: /tmp/rclg/.git/refs/remotes/origin:\nNo such file or directory\nfatal: Not a valid object name HEAD\n\nbut\n\n git clone git://repo.or.cz/rclg.git\n\nworks:\n$ rm -rf rclg\n$ git clone git://repo.or.cz/rclg.git\nInitialized empty Git repository in /tmp/rclg/.git/\nremote: Generating pack...\nremote: Done counting 446 objects.\nremote: Deltifying 446 objects...\nremote:  100% (446/446) done\nIndexing 446 objects...\nremote: Total 446 (delta 239), reused 446 (delta 239)\n 100% (446/446) done\nResolving 239 deltas...\n 100% (239/239) done\n\n\n\n?? Is there something I'm doing wrong with the push statement, or with\nmy git-svn work, or is it a bug, or have I just forgotten/misread a\nstep??\n\n(I'd like to get http working for a few corporate firewall-hindered friends).\n\nbest,\n-tony\n\nblindglobe@gmail.com\nMuttenz, Switzerland.\n\"Commit early,commit often, and commit in a repository from which we\ncan easily roll-back your mistakes\" (AJR, 4Jan05).\n"},{"id":"44451","messageId":"20070609155521.GA3577@sigill.intra.peff.net","threadId":"8528","inReplyTo":"1abe3fa90706090806m4014a680x89178bc5698fefda@mail.gmail.com","subject":"Re: problems with cloning; http vs git protocols?","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2007-06-09T15:55:21Z","receivedAt":"2007-06-09T15:55:21Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Sat, Jun 09, 2007 at 05:06:05PM +0200, A.J. Rossini wrote:\n\n> I've been working to verify it to write instructions for friends, and\n> here is the basic problem:\n> \n> git clone http://repo.or.cz/w/rclg.git\n\nThat's the gitweb URL. Try visiting it in your web browser. The\ngit-over-http URL is:\n  http://repo.or.cz/r/rclg.git\n\n-Peff\n"},{"id":"44452","messageId":"1abe3fa90706090857s4360aa4dpe742da8776019858@mail.gmail.com","threadId":"8528","inReplyTo":"20070609155521.GA3577@sigill.intra.peff.net","subject":"Re: problems with cloning; http vs git protocols?","fromName":"A.J. Rossini","fromEmail":"blindglobe@gmail.com","sentAt":"2007-06-09T15:57:15Z","receivedAt":"2007-06-09T15:57:15Z","isPatch":false,"sender":{"key":"blindglobe@gmail.com","avatar":"https://gravatar.com/avatar/d9ce41197180da6d03ab12a6c3e9ff8a030b1677bca88ad65458c2f5566d8550?d=mp&s=160"},"body":"Thanks much for politely pointing out my cluelessness.  Honestly much\nappreciated!\n\nbest,\n-tony\n\n\nOn 6/9/07, Jeff King <peff@peff.net> wrote:\n> On Sat, Jun 09, 2007 at 05:06:05PM +0200, A.J. Rossini wrote:\n>\n> > I've been working to verify it to write instructions for friends, and\n> > here is the basic problem:\n> >\n> > git clone http://repo.or.cz/w/rclg.git\n>\n> That's the gitweb URL. Try visiting it in your web browser. The\n> git-over-http URL is:\n>   http://repo.or.cz/r/rclg.git\n>\n> -Peff\n>\n\n\n-- \nbest,\n-tony\n\nblindglobe@gmail.com\nMuttenz, Switzerland.\n\"Commit early,commit often, and commit in a repository from which we\ncan easily roll-back your mistakes\" (AJR, 4Jan05).\n"}]}