Skip to content

Conversation

@banzera
Copy link

@banzera banzera commented Aug 22, 2014

I ran into the issue described in #113 today. While I like the rev-parse idea and have seen that implemented in other places, I just opted to search parent directories until I find a .git directory within one.

To keep the tests passing, I had to modify them to use a different sandbox directory--one not parented by the project, otherwise the recursive parent calls would pick up the maven-git-command-id-plugin's git directory mistakenly.

This is working great for me now, but I welcome feedback.

@ktoso
Copy link
Collaborator

ktoso commented Aug 22, 2014

I'll have a look tonight! Thanks for contributing :)

@ktoso ktoso self-assigned this Aug 22, 2014
@ktoso ktoso force-pushed the master branch 7 times, most recently from 97e085d to 7ee11ec Compare October 21, 2014 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants