-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-lfs support for hooks? #16
Comments
Sure, appending seems reasonable to me. I've never used git-lfs, so you're on your own there I'm afraid - but seems reasonable if you can get a simple heuristic that it's that sort of setup. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm doing a little bit of investigation into git-lfs, and it appears that it also manages its installation by setting up some hooks (specifically
pre-push
,post-checkout
,post-commit
, andpost-merge
). It stops if komondor already installed hooks into the repo, and recommends either manually editing the hooks scripts, or doing a force overwrite.In the interest of not having to copy-paste lines into those hook scripts, would komondor be able to detect if git-lfs hooks were already installed, and append komondor's part to the end? Or perhaps komondor could detect if git-lfs is enabled for a repo somehow, and call git-lfs automatically so that developers don't need to manually edit the hooks after installing komondor?
The text was updated successfully, but these errors were encountered: