#99: No mappings between build image and GIT commit ID.
-------------------------+--------------------------------------------------
 Reporter:  cjb          |        Owner:  blizzard
     Type:  enhancement  |       Status:  new     
 Priority:  normal       |    Milestone:  beta    
Component:  distro       |   Resolution:          
 Keywords:  build git    |  
-------------------------+--------------------------------------------------
Comment (by JordanCrouse):

 This is what I used in the buildrom Makefile:

 GITREV := $(shell git-rev-list HEAD --max-count=1 2> /dev/null)
 GITLOCAL := $(shell git-diff-index --name-only HEAD | wc -l)

 Where GITREV is the last commit, and GITLOCAL is non zero if there are any
 non-commited changes in the tree.

-- 
Ticket URL: <http://dev.laptop.org/ticket/99#comment:1>
One Laptop Per Child <http://laptop.org/>
_______________________________________________
Devel mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/devel

Reply via email to