jenkinsci/git-plugin — pull request #121 by oker1 (2013-01-17 18:23:45+00:00)
Title: Set GIT_PREVIOUS_COMMIT env var to sha1 of previous built revision

This can be useful for generating a list of changed files from the previous build. Such a list can be handy for creating incremental builds.