Hello Johannes,

On 05/02/2011 05:40 AM, Johannes Brunen wrote:
> Hello,
> until now I used subversion for checkout. Looking at the website I got
> the impression that this isn't supported anymore. Is that correct?
>
> After installing GIT to my cygwin environment I tried the following
> command:
>
> git clone git://opensg.git.sourceforge.net/gitroot/opensg/opensg
>
> Unfortunately it did not work. I got the following error message in my
> bash shell:
>
> Initialized empty Git repository in /cygdrive/d/Temp/test/opensg/.git/
>
> remote: Counting objects: 64688, done.
> remote: Compressing objects: 100% (12912/12912), done.
> remote: Total 64688 (delta 57037), reused 58828 (delta 51422)
> Receiving objects: 100% (64688/64688), 27.91 MiB | 133 KiB/s, done.
> error: inflate: data stream error (incorrect header check)
> fatal: serious inflate inconsistency
> fatal: index-pack failed

hmm, not sure what the problem is. I found this
http://www.spinics.net/lists/git/msg19550.html on the git mailing list 
from 2007: it seems there was a problem with certain versions of the 
cygwin dll, are you perhaps using an affected version?

> Using mysysGit instead does work properly, however.

ok, that's what i've been using.

> Another question: How can I ask the git repository for the current
> OpenSG version number without actually downloading the repository, i.e.
> I would like to get information along the line of the subversion 'info'
> command:
>
> svn info https://external.lite3d.com/opensg/svn_repo/trunk

there is no exact equivalent to this, since there are no version numbers 
to begin with in a distributed VCS ;)
Normally to update your local repository you'd do a 'git pull' which 
internally does 'git fetch' (fetching changes from the remote 
repository) and then 'git merge' (merging them into the branch you've 
checked out locally).
So what you can do is to manually run 'git fetch' to only obtain the 
changes, but not modify your local branch(es). You can then use 'gitk 
--all' (or just 'git log origin/master') to see the remote changes.

        Cheers,
                Carsten

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to