stacks/gitlint
fix: support linked Git worktrees
#551
Merged
chris
wants to merge
agent/worktree-git-paths
into
main
4 files
+122
-13
Changes to package.json | @@ -80,7 +80,7 @@ |
| 80 | 80 | }, |
| 81 | 81 | "autoRestage": true |
| 82 | 82 | }, |
| 83 | | - "commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG" |
| 83 | + "commit-msg": "bunx gitlint --edit \"$(git rev-parse --git-path COMMIT_EDITMSG)\"" |
| 84 | 84 | }, |
| 85 | 85 | "overrides": { |
| 86 | 86 | "typescript": "^7.0.2" |