rycus86 / githooks

Githooks: per-repo and global Git hooks with version control
MIT License
382 stars 20 forks source link

Bugfix/disturbing output current git dir #26

Closed gabyx closed 5 years ago

gabyx commented 5 years ago

Output:

fatal: not a git repository (or any of the parent directories): .git

on git hooks tools when not in a git repo. I also dont understand the motivation behing: https://github.com/rycus86/githooks/blob/dbdb37bcb790d72a2d7ae262087508d8f2e6fe35/cli.sh#L66

Thanks for correcting this. :-)

rycus86 commented 5 years ago

That's apparently the output when git rev-parse --git-common-dir is not pointing to an override or something? 🤷‍♂️

Thanks for fixing it up!

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 187


Totals Coverage Status
Change from base Build 155: 0.06%
Covered Lines: 1510
Relevant Lines: 1644

💛 - Coveralls