inside git hook files (e.g. .git/hooks/post-merge).
But, I'm building cli tool which relies on git-hooks inside. Problem occurs if repo changes it's location, so relative path becomes broken. I'd would suggest to change relative path with absolute. I can prepare PR if you interested in it.
Hi
I'm talking about this https://github.com/tarmolov/git-hooks-js/blob/master/lib/git-hooks.js#L53-L54 It produces code like
inside git hook files (e.g.
.git/hooks/post-merge
). But, I'm building cli tool which relies ongit-hooks
inside. Problem occurs if repo changes it's location, so relative path becomes broken. I'd would suggest to change relative path with absolute. I can prepare PR if you interested in it.Unless you can suggest anything else?
Thanks