wecodemore / grunt-githooks

A Grunt plugin to help bind Grunt tasks to Git hooks
https://npmjs.org/package/grunt-githooks
MIT License
317 stars 24 forks source link

Handle work directory being a git submodule checkout. #44

Closed abutcher-gh closed 7 years ago

abutcher-gh commented 9 years ago

Handle the work directory being a git submodule checkout where the .git entry is actually a file with contents of the form gitdir: ./path/to/enclosing/repo/.git/path/to/submodule

franz-josef-kaiser commented 8 years ago

This PR would need the aligning test infrastructure. Also please explain what exactly the work directory is in your case.

bendenoz commented 8 years ago

The path is also available with the command git rev-parse --git-dir

franz-josef-kaiser commented 7 years ago

As this PR was never finished, I will close it now. Feel free to ping me here or open a new PR.