how to get the value of REV?

Stefan Kalkowski stefan.kalkowski at ...1...
Mon Mar 30 08:56:32 CEST 2015


Hi,

On 03/29/2015 02:46 PM, Lee gary wrote:
> Hi all.
>    I know  the REV(git)  in the port file is  hash of the current
> version.but i don't know  how to get the value of  REV?  

The REV value refers to the "git revision". Each commit in git can be
expressed as a SHA-1 hash. If you call for instance "git log" you see
something like:

  commit b148a772b1319866ff201dc6f1ac4929a24e58ac
  Author: foo bar <foo.bar at ...320...>
  Date:   Fri Feb 6 15:43:36 2015 +0100

The string behind "commit" in the first line is this hash-sum.
See:

  http://git-scm.com/book/en/v2/Git-Tools-Revision-Selection

Regards
Stefan

> 
>   Thanks
> 
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> 
> 
> 
> _______________________________________________
> genode-main mailing list
> genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
> 

-- 
Stefan Kalkowski
Genode Labs

http://www.genode-labs.com/ · http://genode.org/




More information about the users mailing list