Recursively search the commit log until the R Markdown file or its
corresponding HTML file is found. If the Rmd is found first, the HTML file
needs to be re-rendered, added, and committed (return TRUE). If the HTML file
is found first, then it is up-to-date (return FALSE).