Detecting changes in source control

A good automated build will detect when code is changed in source control and trigger a build.

For a git this is quite easy to do using the git log command. But do in a way which is stable.

Scripting with Lua is perfect.

Â