E3-764: Skip creating empty commits and instead use latest ref
If after having made all defined substitutions there are no changes to files in a repository, no (empty) commit will be made. There will, however, still be a new tag created, but this will be based on the starting point (which often is a branch).
Edited by Anders Lindh Olsson