There are two related environment variables: 

ENV["COMMIT_HASH"]
ENV["LAST_COMMIT_BY"]

Thanks, 
TJ

On May 7, 2011, at 6:53 AM, Clément wrote:

> Hi,
> Does an app have a reference to its git repo ?
> I mean : I have any chance to retrieve the last commit within the app
> itself ?
> 
> I would like somthing like :
> <%= `git show HEAD` %> which works well on my computer but not once
> deployed on Heroku :/
> 
> Thanks,
> Clément
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to heroku@googlegroups.com.
> To unsubscribe from this group, send email to 
> heroku+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to