Author Topic: Compiling error in Linux  (Read 1006 times)

mersinliali

  • Guest
Compiling error in Linux
« on: 8 January 2011, 21:13:25 »
Hi,
I have just got the GAE source by git. It is the first time I use git. I could see the revision number when it was svn update and report the bugs or errors with that number attached in the subject. Is there a way to learn which revision I pull by git? Therefore I can report anything wrong systematically.

Now, what I have is:

(click to show/hide)

Best regards,
Ali

Cygal

  • Guest
Re: Compiling error in Linux
« Reply #1 on: 8 January 2011, 21:37:00 »
git log -1 will show you the last registered commit, which is the last revision if you did not commit anything locally. Don't try to apply too much of you svn knowledge to git: it is decentralized whereas svn is not.

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Compiling error in Linux
« Reply #2 on: 8 January 2011, 22:35:09 »
I'm getting the same compile error here as well.

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Compiling error in Linux
« Reply #3 on: 8 January 2011, 22:49:09 »
Thanks guys, will be pushing a fix shortly.

As Cygal has pointed out, git is quite different to svn, there are no sequential revision numbers, git calculates a hash to identify all commits, while these are long the first 6 or so digits should be sufficient to identify a commit.

So, at time of writing, head (refs/heads/master) is currently at commit 'eee8ac...'

If you have just done git pull then get a compile error, just saying you're on 'head' would also be fine.

Cheers.

Edit: Fix is in (and head of master is now at 4da367b..)

« Last Edit: 8 January 2011, 23:09:55 by silnarm »
Glest Advanced Engine - Code Monkey

Timeline | Downloads

 

anything