On Tue, May 31, 2011 at 10:35 AM, chris <chrizz0...@googlemail.com> wrote:

> Hi all,
> i have a problem, I don't understand.
> I created the repository http://git.gitorious.org/git-php/git-php.git
> and pushed to it.
> Every time i clone this repository, I only get it until the commit
> '9cc2cad'.
> But if you read the commit log via
> https://gitorious.org/git-php/git-php/commits/master
> you can see that there are 2 newer commits.
> I tried fetching, but anyway i do not get those latest commits
> '7c80746' and 'd9d3581'.
>

Chris,
Now, this was a bit of a mind-bender :-)

It looks like you haven't pushed your repository to gitorious.org before
(from the repository's page https://gitorious.org/git-php/git-php), and
somehow the file .git/info/refs in the repository is out of date. This file
is used by our git-http service to list the branch names and their
respective commits when cloning over HTTP.

I don't know how this happened, git should take care of this for you, but
that's certainly not how it's supposed to look, since your git client will
fetch this file over HTTP and then request that commit - your .git/info/refs
file looks like this:

9cc2cadaf38f7c7199a4425c342f9ef1670a8169 refs/heads/master

You could try pushing to the repository, and see if that helps; otherwise
creating a near-empty commit and pushing that should take care of things.

Cheers,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to