René's URL Explorer Experiment


Title: Fix non-existent / dangling refs cause Repository.prototype.createCommitWithSignature to fail by emmax86 · Pull Request #1624 · nodegit/nodegit · GitHub

Open Graph Title: Fix non-existent / dangling refs cause Repository.prototype.createCommitWithSignature to fail by emmax86 · Pull Request #1624 · nodegit/nodegit

X Title: Fix non-existent / dangling refs cause Repository.prototype.createCommitWithSignature to fail by emmax86 · Pull Request #1624 · nodegit/nodegit

Description: Native Node bindings to Git. Contribute to nodegit/nodegit development by creating an account on GitHub.

Open Graph Description: Repository.prototype.createCommit is able to handle updates to refs which do not exist because of the internal implementation of git_commit_create in libgit2. This PR exposes a reimplementation of ...

X Description: Repository.prototype.createCommit is able to handle updates to refs which do not exist because of the internal implementation of git_commit_create in libgit2. This PR exposes a reimplementation of ...

Opengraph URL: https://github.com/nodegit/nodegit/pull/1624

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2ac8ffc1-a130-f576-9e1c-8d9a6776b65d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEAC6:A0835:41E53C6:564F8A9:6A5D3410
html-safe-nonceebfc7ca321b0dd6952af96160ae32c51464808a69c315379bf68d03c7a73d392
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUM2OkEwODM1OjQxRTUzQzY6NTY0RjhBOTo2QTVEMzQxMCIsInZpc2l0b3JfaWQiOiI2OTkxMzUyNTMzNjI2OTkxNjMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac65be26b9bb861fa9229c4ec7068e5a95e48ffd16fc59eebe97833c5c1315cbe8
hovercard-subject-tagpull_request:251304187
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodegit/nodegit/1624/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c059658ae3fb9f4c84993dde501a27167e4538c411ae8c24825ed91006bc4dec/nodegit/nodegit/pull/1624
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c059658ae3fb9f4c84993dde501a27167e4538c411ae8c24825ed91006bc4dec/nodegit/nodegit/pull/1624
og:image:altRepository.prototype.createCommit is able to handle updates to refs which do not exist because of the internal implementation of git_commit_create in libgit2. This PR exposes a reimplementation of ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemmax86
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git
octolytics-dimension-user_id657068
octolytics-dimension-user_loginnodegit
octolytics-dimension-repository_id1383170
octolytics-dimension-repository_nwonodegit/nodegit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1383170
octolytics-dimension-repository_network_root_nwonodegit/nodegit
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodegit/nodegit/pull/1624#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fpull%2F1624
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2Fnodegit%2Fnodegit%2Fpull%2F1624
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=nodegit%2Fnodegit
Reloadhttps://github.com/nodegit/nodegit/pull/1624
Reloadhttps://github.com/nodegit/nodegit/pull/1624
Reloadhttps://github.com/nodegit/nodegit/pull/1624
Please reload this pagehttps://github.com/nodegit/nodegit/pull/1624
nodegit https://github.com/nodegit
nodegithttps://github.com/nodegit/nodegit
Notifications https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Fork 698 https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Star 5.8k https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Code https://github.com/nodegit/nodegit
Issues 343 https://github.com/nodegit/nodegit/issues
Pull requests 20 https://github.com/nodegit/nodegit/pulls
Actions https://github.com/nodegit/nodegit/actions
Projects https://github.com/nodegit/nodegit/projects
Security and quality 0 https://github.com/nodegit/nodegit/security
Insights https://github.com/nodegit/nodegit/pulse
Code https://github.com/nodegit/nodegit
Issues https://github.com/nodegit/nodegit/issues
Pull requests https://github.com/nodegit/nodegit/pulls
Actions https://github.com/nodegit/nodegit/actions
Projects https://github.com/nodegit/nodegit/projects
Security and quality https://github.com/nodegit/nodegit/security
Insights https://github.com/nodegit/nodegit/pulse
implausiblehttps://github.com/implausible
nodegit:masterhttps://github.com/nodegit/nodegit/tree/master
emmax86:feature/sign-init-commit-on-bare-repohttps://github.com/emmax86/nodegit/tree/feature/sign-init-commit-on-bare-repo
Conversationhttps://github.com/nodegit/nodegit/pull/1624
Commits5 (5)https://github.com/nodegit/nodegit/pull/1624/commits
Checkshttps://github.com/nodegit/nodegit/pull/1624/checks
Files changedhttps://github.com/nodegit/nodegit/pull/1624/files
Fix non-existent / dangling refs cause Repository.prototype.createCommitWithSignature to failhttps://github.com/nodegit/nodegit/pull/1624#top
implausiblehttps://github.com/implausible
nodegit:masterhttps://github.com/nodegit/nodegit/tree/master
emmax86:feature/sign-init-commit-on-bare-repohttps://github.com/emmax86/nodegit/tree/feature/sign-init-commit-on-bare-repo
https://github.com/emmax86
emmax86https://github.com/emmax86
Feb 7, 2019https://github.com/nodegit/nodegit/pull/1624#issue-407941791
Please reload this pagehttps://github.com/nodegit/nodegit/pull/1624
emmax86https://github.com/emmax86
February 7, 2019 14:53https://github.com/nodegit/nodegit/pull/1624#commits-pushed-0438567
https://github.com/emmax86
Make Signature.defaultasync 🙀https://github.com/nodegit/nodegit/pull/1624/commits/0438567022d8fd4299bfc13111b7e1d82e508c55
0438567https://github.com/nodegit/nodegit/pull/1624/commits/0438567022d8fd4299bfc13111b7e1d82e508c55
https://github.com/emmax86
createCommitWithSignature can now handle dangling / non-existent refshttps://github.com/nodegit/nodegit/pull/1624/commits/edfa9ec6c486ffc374f236e08fab52beee55d783
edfa9echttps://github.com/nodegit/nodegit/pull/1624/commits/edfa9ec6c486ffc374f236e08fab52beee55d783
https://github.com/emmax86
Add test case for updating non-existent refs with createCommitWithSig…https://github.com/nodegit/nodegit/pull/1624/commits/c3e58f34e91127cffbe6006c06102f68c0c03588
c3e58f3https://github.com/nodegit/nodegit/pull/1624/commits/c3e58f34e91127cffbe6006c06102f68c0c03588
https://github.com/emmax86
Add warning comment for reflog critical sectionhttps://github.com/nodegit/nodegit/pull/1624/commits/48bf6fa1ad998d308c29856c6d237eb43245e9fa
48bf6fahttps://github.com/nodegit/nodegit/pull/1624/commits/48bf6fa1ad998d308c29856c6d237eb43245e9fa
https://github.com/emmax86
emmax86https://github.com/emmax86
implausiblehttps://github.com/implausible
Feb 7, 2019https://github.com/nodegit/nodegit/pull/1624#event-2125833268
https://github.com/implausible
implausiblehttps://github.com/implausible
Feb 8, 2019 https://github.com/nodegit/nodegit/pull/1624#pullrequestreview-201658660
View reviewed changes https://github.com/nodegit/nodegit/pull/1624/files/48bf6fa1ad998d308c29856c6d237eb43245e9fa
implausiblehttps://github.com/implausible
https://github.com/nodegit/nodegit/pull/1624#pullrequestreview-201658660
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodegit/nodegit/pull/1624
lib/repository.jshttps://github.com/nodegit/nodegit/pull/1624/files/48bf6fa1ad998d308c29856c6d237eb43245e9fa#diff-a5a24674185f8dddf909d0208f70be34ba44b2a6070948169ac766671a185ddc
implausiblehttps://github.com/implausible
Feb 8, 2019https://github.com/nodegit/nodegit/pull/1624#discussion_r255135703
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodegit/nodegit/pull/1624
lib/reference.jshttps://github.com/nodegit/nodegit/pull/1624/files/48bf6fa1ad998d308c29856c6d237eb43245e9fa#diff-ae87ea424b9b9ae42fda07ff6c912adf6692628303ac0121718ec2f66759f0bf
implausiblehttps://github.com/implausible
Feb 8, 2019https://github.com/nodegit/nodegit/pull/1624#discussion_r255135822
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodegit/nodegit/pull/1624
https://github.com/emmax86
Add documentation and update parameter orderhttps://github.com/nodegit/nodegit/pull/1624/commits/6e7032b6d28fec4468a66d50c35a59c36a636160
6e7032bhttps://github.com/nodegit/nodegit/pull/1624/commits/6e7032b6d28fec4468a66d50c35a59c36a636160
https://github.com/implausible
implausiblehttps://github.com/implausible
888e34chttps://github.com/nodegit/nodegit/commit/888e34c8a59ac1cdc2414f237bb89262d2bac1fa
Feb 8, 2019https://github.com/nodegit/nodegit/pull/1624#event-2127741631
https://github.com/snyk-bot
snyk-bothttps://github.com/snyk-bot
Feb 23, 2020 https://github.com/nodegit/nodegit/pull/1624#ref-pullrequest-569442418
[Snyk] Upgrade nodegit from 0.4.1 to 0.26.4 saurabharch/Breezeblocks#1 https://github.com/saurabharch/Breezeblocks/pull/1
https://github.com/snyk-bot
snyk-bothttps://github.com/snyk-bot
Apr 22, 2020 https://github.com/nodegit/nodegit/pull/1624#ref-pullrequest-604472000
[Snyk] Upgrade nodegit from 0.24.3 to 0.26.5 aminatakonate000/Graviton-App#4 https://github.com/aminatakonate000/Graviton-App/pull/4
https://github.com/snyk-bot
snyk-bothttps://github.com/snyk-bot
May 5, 2020 https://github.com/nodegit/nodegit/pull/1624#ref-pullrequest-612362441
[Snyk] Upgrade nodegit from 0.24.3 to 0.26.5 Barnstorm-Online/ngp-openapi-generator#1 https://github.com/Barnstorm-Online/ngp-openapi-generator/pull/1
https://github.co/hiddenchars
https://github.com/nodegit/nodegit/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fpull%2F1624
https://github.com/implausible
implausible https://github.com/implausible
https://github.com/nodegit/nodegit/pull/1624/files/48bf6fa1ad998d308c29856c6d237eb43245e9fa
https://github.com/implausible
implausible https://github.com/implausible
Please reload this pagehttps://github.com/nodegit/nodegit/pull/1624
https://github.com/emmax86
https://github.com/implausible
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.