di-sukharev / di-sukharev/opencommit
[Feature]: oco hook set for current repo only in .git/hooks
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 445
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Description
Description
i dont want it to be global, i just want current repo to be hooked
Suggested Solution
put it in cwd/.git/hooks/prepare... not ~/.git_hooks/prepare-commit-msg
Alternatives
No response
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the hook setup that currently targets ~/.git_hooks/prepare-commit-msg and trace how the current repository is identified. Update the behavior so the hook is placed in cwd/.git/hooks/prepare-commit-msg for only that repository, then verify that the global path is not modified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, javascript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100