Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Skip git revision in pom if empty git repo. Fixes #887. #888

Merged
merged 1 commit into from Dec 17, 2012
Commits on Dec 17, 2012
  1. Skip git revision in pom.xml if empty git repo.

    hypirion committed Dec 17, 2012
    Tests if the git ref path exists before slurping the SHA from it. If it does not
    exist, return nil instead of throwing an error. Also remove empty references to
    the SHA where they may occur.