Skip to content
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

Add -hook suffix to "githooks" hooks #8

Closed
stuartpb opened this issue Aug 13, 2014 · 1 comment
Closed

Add -hook suffix to "githooks" hooks #8

stuartpb opened this issue Aug 13, 2014 · 1 comment

Comments

@stuartpb
Copy link
Member

As described in #5, using the bare "git-" namespace for Git's hooks in the same namespace as any hooks Plushu would make around Git (and it looks like that's happening in the current plan to implement #5) is a name collision waiting to happen (we could semi-realistically have a git-update hook that gets called when the Git suite itself is updated, not to be confused with Git's update hook which would be at git-update-hook).

@stuartpb
Copy link
Member Author

This would also mean a change to plushu-git-receive-app (soon to be plushu-git-apps) and plushu-git-receive-warn-no-master.

@stuartpb stuartpb mentioned this issue Aug 13, 2014
stuartpb added a commit to plushu/plushu-git-apps that referenced this issue Aug 14, 2014
stuartpb added a commit to plushu/plushu-git-receive-warn-no-master that referenced this issue Aug 14, 2014
stuartpb added a commit that referenced this issue Aug 15, 2014
Because of the way plushook does buffering, we can't really hook
the git command up to it. As such, we just use the hook for
notification that the command is about to run instead (which is
enough for the one use case the hook has right now).

This *sort* of contradicts what I was thinking toward the end of #8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant