Skip to content

feat: add the git-hook:install command #85

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

Merged
merged 1 commit into from
May 27, 2024
Merged

feat: add the git-hook:install command #85

merged 1 commit into from
May 27, 2024

Conversation

AdeAttwood
Copy link
Collaborator

@AdeAttwood AdeAttwood commented Apr 3, 2024

feat: add the git-hook:install command

Summary:

Create the git-hook:install command to install git hooks. This is the same as
the last one. We have added some extra environment variables to the hooks to
allow for future expansion. This will mainly give us the ability to prompt the
user to update the hooks if they are out of date.

Test Plan:

Tests have been written, I have also tested this manually by running the
command in a sapling and git repo.

Ref: #76


Stack created with Sapling. Best reviewed with ReviewStack.

Base automatically changed from pr88 to 2.x April 14, 2024 07:19
Summary:

Create the `git-hook:install` command to install git hooks. This is the same as
the last one. We have added some extra environment variables to the hooks to
allow for future expansion. This will mainly give us the ability to prompt the
user to update the hooks if they are out of date.

Test Plan:

Tests have been written, I have also tested this manually by running the
command in a sapling and git repo.

Ref: #76
@GeorgeCadwallader
Copy link

All looks good to me, just got some tests failing that need sorting 👍

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

Successfully merging this pull request may close these issues.

2 participants