Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Explicitly disable paging in pre-commit hook (#3928)
The pre-commit hook that checks for leftover conflict markers introduced in #3708 calls git diff. While this works well in general, I am running into an edge case where git is failing to determine that it is not being run in a TTY, causing it to fire up a pager which, in turn, causes pre-commit to hang as it waits for the pager to close. This commit fixes this issue by adding the `--no-pager` flag to the git command.
- Loading branch information