Hello, your app is not a git repo when running on Heroku. If you want to show some git based info, your best bet is to use a hook locally to write out the information to a file then send that up to Heroku.
Oren On Sat, May 7, 2011 at 3:53 AM, Clément <clmntlx...@gmail.com> 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.