Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] how to find ppsspp git revision number on git server?
11-22-2013, 03:44 AM
Post: #5
RE: how to find ppsspp git revision number on git server?
Henrik: open your .gitconfig file or etc. and add this under [alias]:

find-commit = "!START_POINT="`echo "$1" | sed -e 's/-.*$//'`"; git describe --always `git rev-list "$START_POINT"..master` | grep "$1-" && true"

Use e.g. "git find-commit v0.9.5-3". But it's still a pain and can be slow or ambiguous.

Another useful one:
get-merge = "!git log --ancestry-path $1..master --oneline --merges | tail -n1 && true"

Use e.g. "git get-merge c2b2b36" which will tell you it's pull #4417.

As for packaging, yes, just use git describe --always. I believe it has to be done from within the git directory.

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: how to find ppsspp git revision number on git server? - [Unknown] - 11-22-2013 03:44 AM

Forum Jump: