Title: Use the correct .git path in case of worktrees. by daschuer · Pull Request #2252 · pre-commit/pre-commit · GitHub
Open Graph Title: Use the correct .git path in case of worktrees. by daschuer · Pull Request #2252 · pre-commit/pre-commit
X Title: Use the correct .git path in case of worktrees. by daschuer · Pull Request #2252 · pre-commit/pre-commit
Description: A framework for managing and maintaining multi-language pre-commit hooks. - Use the correct .git path in case of worktrees. by daschuer · Pull Request #2252 · pre-commit/pre-commit
Open Graph Description: The issue happens because get_git_dir() returns git rev-parse --git-common-dir and not git rev-parse --git-dir as expected. This PR introduces get_git_common_dir() and uses it where the common dir ...
X Description: The issue happens because get_git_dir() returns git rev-parse --git-common-dir and not git rev-parse --git-dir as expected. This PR introduces get_git_common_dir() and uses it where the common dir ...
Opengraph URL: https://github.com/pre-commit/pre-commit/pull/2252
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:5847d308-6845-1aa6-5626-52e21a569cca |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | ADC2:3499D7:10D2830:16AE6E3:6A56BBC3 |
| html-safe-nonce | 9a8d147ac5ae7a992cb63e0481731ff336184c554d2fada37b49667d99997b89 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREMyOjM0OTlENzoxMEQyODMwOjE2QUU2RTM6NkE1NkJCQzMiLCJ2aXNpdG9yX2lkIjoiNTc2MDQ2MTUyMzA0NDc1MDc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c61b447be8aa53f7e1b161c6aa7da66ed234e73969c19031a3282a0597e8b515 |
| hovercard-subject-tag | pull_request:856047177 |
| github-keyboard-shortcuts | repository,commits,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/pre-commit/pre-commit/pull/2252/checks |
| twitter:image | https://opengraph.githubassets.com/5cf9c228b6bd16c25c49dfc36929bef34623fdef6591e67be4a9b158b0b817f0/pre-commit/pre-commit/pull/2252 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5cf9c228b6bd16c25c49dfc36929bef34623fdef6591e67be4a9b158b0b817f0/pre-commit/pre-commit/pull/2252 |
| og:image:alt | The issue happens because get_git_dir() returns git rev-parse --git-common-dir and not git rev-parse --git-dir as expected. This PR introduces get_git_common_dir() and uses it where the common dir ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daschuer |
| hostname | github.com |
| expected-hostname | github.com |
| None | df99b7164e1d961b639cf5d3cbd6b5ba673edc67bd7e47cdc4746b96099e11ae |
| turbo-cache-control | no-cache |
| go-import | github.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17689377 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17689377 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 829f7fb08f3c7a059361601ffe917f622508969c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width