| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:928470c3-8946-eb0d-d247-ad2ca051708e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE2E:289D0C:950390:C5B36C:6A5B4604 |
| html-safe-nonce | d0784633d254eaa96555fd22ded24867794d008bf3f25c6c45dd304131b88710 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTJFOjI4OUQwQzo5NTAzOTA6QzVCMzZDOjZBNUI0NjA0IiwidmlzaXRvcl9pZCI6IjM1NDExMjc2NTYwMzYzMjA3NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 04dda5e2e4a2fcfc108867e5b3095afbcaedfabd26f1020991bab00bdbf1c4f0 |
| hovercard-subject-tag | pull_request:91440089 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/libgit2/libgit2/3977/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/e974886b5cb2d4a4c761f7bd94266a451820301d960dbcf73d3c834dac26bac0/libgit2/libgit2/pull/3977 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e974886b5cb2d4a4c761f7bd94266a451820301d960dbcf73d3c834dac26bac0/libgit2/libgit2/pull/3977 |
| og:image:alt | The code correctly detects that forced creation of a branch on a
nonbare repo should not be able to overwrite a branch which is
the HEAD reference. But there's no reason to prevent this on
a b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jfultz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| go-import | github.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 901662 |
| octolytics-dimension-repository_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/libgit2/libgit2/pull/3977#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F3977 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F3977 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=libgit2%2Flibgit2 |
| Reload | https://github.com/libgit2/libgit2/pull/3977 |
| Reload | https://github.com/libgit2/libgit2/pull/3977 |
| Reload | https://github.com/libgit2/libgit2/pull/3977 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3977 |
|
libgit2
| https://github.com/libgit2 |
| libgit2 | https://github.com/libgit2/libgit2 |
|
Notifications
| https://github.com/login?return_to=%2Flibgit2%2Flibgit2 |
|
Fork
2.6k
| https://github.com/login?return_to=%2Flibgit2%2Flibgit2 |
|
Star
10.5k
| https://github.com/login?return_to=%2Flibgit2%2Flibgit2 |
|
Code
| https://github.com/libgit2/libgit2 |
|
Issues
420
| https://github.com/libgit2/libgit2/issues |
|
Pull requests
107
| https://github.com/libgit2/libgit2/pulls |
|
Discussions
| https://github.com/libgit2/libgit2/discussions |
|
Actions
| https://github.com/libgit2/libgit2/actions |
|
Projects
| https://github.com/libgit2/libgit2/projects |
|
Security and quality
3
| https://github.com/libgit2/libgit2/security |
|
Insights
| https://github.com/libgit2/libgit2/pulse |
|
Code
| https://github.com/libgit2/libgit2 |
|
Issues
| https://github.com/libgit2/libgit2/issues |
|
Pull requests
| https://github.com/libgit2/libgit2/pulls |
|
Discussions
| https://github.com/libgit2/libgit2/discussions |
|
Actions
| https://github.com/libgit2/libgit2/actions |
|
Projects
| https://github.com/libgit2/libgit2/projects |
|
Security and quality
| https://github.com/libgit2/libgit2/security |
|
Insights
| https://github.com/libgit2/libgit2/pulse |
| jfultz | https://github.com/jfultz |
| libgit2:master | https://github.com/libgit2/libgit2/tree/master |
| jfultz:fix-forced-branch-creation-on-bare-repo | https://github.com/jfultz/libgit2/tree/fix-forced-branch-creation-on-bare-repo |
| Conversation | https://github.com/libgit2/libgit2/pull/3977 |
| Commits2 (2) | https://github.com/libgit2/libgit2/pull/3977/commits |
| Checks | https://github.com/libgit2/libgit2/pull/3977/checks |
| Files changed | https://github.com/libgit2/libgit2/pull/3977/files |
| Fix forced branch creation on HEAD of a bare repo. | https://github.com/libgit2/libgit2/pull/3977#top |
| jfultz | https://github.com/jfultz |
| libgit2:master | https://github.com/libgit2/libgit2/tree/master |
| jfultz:fix-forced-branch-creation-on-bare-repo | https://github.com/jfultz/libgit2/tree/fix-forced-branch-creation-on-bare-repo |
|
| https://github.com/jfultz |
| jfultz | https://github.com/jfultz |
| Oct 28, 2016 | https://github.com/libgit2/libgit2/pull/3977#issue-186005269 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3977 |
| https://github.com/jfultz |
| jfultz | https://github.com/jfultz |
| force-pushed | https://github.com/libgit2/libgit2/compare/104359cdaefabb5e0bda61203ee0135202a2b62f..c7ac7a2fffe243ab54f7f36eeb2adcb1567c3991 |
| 104359c | https://github.com/libgit2/libgit2/commit/104359cdaefabb5e0bda61203ee0135202a2b62f |
| c7ac7a2 | https://github.com/libgit2/libgit2/commit/c7ac7a2fffe243ab54f7f36eeb2adcb1567c3991 |
|
Compare
| https://github.com/libgit2/libgit2/compare/104359cdaefabb5e0bda61203ee0135202a2b62f..c7ac7a2fffe243ab54f7f36eeb2adcb1567c3991 |
| October 28, 2016 21:51 | https://github.com/libgit2/libgit2/pull/3977#event-840670021 |
|
| https://github.com/jfultz |
| Fix forced branch creation on HEAD of a bare repo. | https://github.com/libgit2/libgit2/pull/3977/commits/bc7c633f0bfd5dba9f87a6980401222a22ea3cd0 |
| bc7c633 | https://github.com/libgit2/libgit2/pull/3977/commits/bc7c633f0bfd5dba9f87a6980401222a22ea3cd0 |
| https://github.com/jfultz |
| jfultz | https://github.com/jfultz |
| force-pushed | https://github.com/libgit2/libgit2/compare/c7ac7a2fffe243ab54f7f36eeb2adcb1567c3991..bc7c633f0bfd5dba9f87a6980401222a22ea3cd0 |
| c7ac7a2 | https://github.com/libgit2/libgit2/commit/c7ac7a2fffe243ab54f7f36eeb2adcb1567c3991 |
| bc7c633 | https://github.com/libgit2/libgit2/commit/bc7c633f0bfd5dba9f87a6980401222a22ea3cd0 |
|
Compare
| https://github.com/libgit2/libgit2/compare/c7ac7a2fffe243ab54f7f36eeb2adcb1567c3991..bc7c633f0bfd5dba9f87a6980401222a22ea3cd0 |
| October 28, 2016 21:52 | https://github.com/libgit2/libgit2/pull/3977#event-840671005 |
| https://github.com/pks-t |
| pks-t | https://github.com/pks-t |
|
Nov 1, 2016
| https://github.com/libgit2/libgit2/pull/3977#pullrequestreview-6608345 |
|
View reviewed changes
| https://github.com/libgit2/libgit2/pull/3977/files/bc7c633f0bfd5dba9f87a6980401222a22ea3cd0 |
| pks-t | https://github.com/pks-t |
| https://github.com/libgit2/libgit2/pull/3977#pullrequestreview-6608345 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3977 |
| tests/refs/branches/create.c | https://github.com/libgit2/libgit2/pull/3977/files/bc7c633f0bfd5dba9f87a6980401222a22ea3cd0#diff-f0fa92085ac034419c9a26c5edbe94770af778cbeecefa269e3fc4996662c34b |
| pks-t | https://github.com/pks-t |
| Nov 1, 2016 | https://github.com/libgit2/libgit2/pull/3977#discussion_r85923539 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3977 |
| jfultz | https://github.com/jfultz |
| Nov 1, 2016 | https://github.com/libgit2/libgit2/pull/3977#discussion_r85984251 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3977 |
|
| https://github.com/jfultz |
| Fix memory leak regression I just introduced. | https://github.com/libgit2/libgit2/pull/3977/commits/fbba325cbc5be866e3ff0112b5bfd54a83839f5a |
| fbba325 | https://github.com/libgit2/libgit2/pull/3977/commits/fbba325cbc5be866e3ff0112b5bfd54a83839f5a |
| https://github.com/pks-t |
| pks-t | https://github.com/pks-t |
|
Nov 2, 2016
| https://github.com/libgit2/libgit2/pull/3977#pullrequestreview-6757015 |
|
View reviewed changes
| https://github.com/libgit2/libgit2/pull/3977/files/fbba325cbc5be866e3ff0112b5bfd54a83839f5a |
| https://github.com/pks-t |
| pks-t | https://github.com/pks-t |
| Nov 2, 2016 | https://github.com/libgit2/libgit2/pull/3977#issuecomment-257786462 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3977 |
| pks-t | https://github.com/pks-t |
|
Nov 4, 2016
| https://github.com/libgit2/libgit2/pull/3977#ref-commit-6e2fab9 |
|
| https://github.com/pks-t |
| Merge pull request | https://github.com/libgit2/libgit2/commit/6e2fab9eded4c815d52ff812671fd7a601ef19d6 |
| #3977 | https://github.com/libgit2/libgit2/pull/3977 |
| from jfultz/fix-forced-branch-creation-on-ba… | https://github.com/libgit2/libgit2/commit/6e2fab9eded4c815d52ff812671fd7a601ef19d6 |
| 6e2fab9 | https://github.com/libgit2/libgit2/commit/6e2fab9eded4c815d52ff812671fd7a601ef19d6 |
| https://github.com/pks-t |
| pks-t | https://github.com/pks-t |
| Nov 4, 2016 | https://github.com/libgit2/libgit2/pull/3977#issuecomment-258493135 |
| 6e2fab9 | https://github.com/libgit2/libgit2/commit/6e2fab9eded4c815d52ff812671fd7a601ef19d6 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3977 |
| https://github.com/pks-t |
| pks-t | https://github.com/pks-t |
| Nov 4, 2016 | https://github.com/libgit2/libgit2/pull/3977#event-848216520 |
| https://github.com/johnhaley81 |
| johnhaley81 | https://github.com/johnhaley81 |
|
Feb 6, 2017
| https://github.com/libgit2/libgit2/pull/3977#ref-pullrequest-199888282 |
|
Bump libgit to 0bf0526
nodegit/nodegit#1187
| https://github.com/nodegit/nodegit/pull/1187 |
| https://github.co/hiddenchars |
| https://github.com/libgit2/libgit2/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F3977 |
|
| https://github.com/pks-t |
|
pks-t
| https://github.com/pks-t |
|
| https://github.com/libgit2/libgit2/pull/3977/files/fbba325cbc5be866e3ff0112b5bfd54a83839f5a |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3977 |
|
| https://github.com/jfultz |
|
| https://github.com/pks-t |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |