Prefer early exit when commit is not on refs/changes ref

Currently some resource get allocated even when operating on wrong refs, i. e.
drafts or meta/config. Exit immediately if ref does not start with refs/changes.

Change-Id: I7c427095fe230b0a3b4255c8deb6daa5032b76c5
1 file changed
tree: 35cad4bb00f79e086fff16451c42d61aa2e35325
  1. .gitignore
  2. .settings/
  3. LICENSE
  4. pom.xml
  5. src/