René's URL Explorer Experiment


Title: diff_file: properly refcount blobs when initializing file contents by pks-t · Pull Request #4447 · libgit2/libgit2 · GitHub

Open Graph Title: diff_file: properly refcount blobs when initializing file contents by pks-t · Pull Request #4447 · libgit2/libgit2

X Title: diff_file: properly refcount blobs when initializing file contents by pks-t · Pull Request #4447 · libgit2/libgit2

Description: A cross-platform, linkable library implementation of Git that you can use in your application. - diff_file: properly refcount blobs when initializing file contents by pks-t · Pull Request #4447 · libgit2/libgit2

Open Graph Description: When initializing a git_diff_file_content from a source whose data is derived from a blob, we simply assign the blob's pointer to the resulting struct without incrementing its refcount. Thus, t...

X Description: When initializing a git_diff_file_content from a source whose data is derived from a blob, we simply assign the blob's pointer to the resulting struct without incrementing its refcount. Thu...

Opengraph URL: https://github.com/libgit2/libgit2/pull/4447

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:de8a567f-b1bc-6ca4-c340-a7fc38890f61
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDC92:F3B55:16465E:1D8872:6A5EC6CB
html-safe-noncef62e50bd6197c100d85b4affd0db3b1601b199ff7924e11a2d830d47ec32e432
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzkyOkYzQjU1OjE2NDY1RToxRDg4NzI6NkE1RUM2Q0IiLCJ2aXNpdG9yX2lkIjoiMzAxNDc4NzU4MjkzOTU0NzMzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdefd89a898429a48a2fff209ca51f04cc55a8c037d257e213ec49519e9d62eee
hovercard-subject-tagpull_request:158576071
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/libgit2/libgit2/4447/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/efb0a8665402e5a990f6937e199e213fa637e9e3afbdc4a4fa605e3a77dfbd26/libgit2/libgit2/pull/4447
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/efb0a8665402e5a990f6937e199e213fa637e9e3afbdc4a4fa605e3a77dfbd26/libgit2/libgit2/pull/4447
og:image:altWhen initializing a git_diff_file_content from a source whose data is derived from a blob, we simply assign the blob's pointer to the resulting struct without incrementing its refcount. Thus, t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepks-t
hostnamegithub.com
expected-hostnamegithub.com
Nonefbe2b3a3baf2f0e0ac1671a4d190d9de098dcf218eb73137ad46da364d3df398
turbo-cache-controlno-cache
go-importgithub.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git
octolytics-dimension-user_id394745
octolytics-dimension-user_loginlibgit2
octolytics-dimension-repository_id901662
octolytics-dimension-repository_nwolibgit2/libgit2
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id901662
octolytics-dimension-repository_network_root_nwolibgit2/libgit2
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
release0cd844a7ab298ec8d89b66ef4b195d158229d335
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/libgit2/libgit2/pull/4447#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F4447
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2Flibgit2%2Flibgit2%2Fpull%2F4447
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
Reloadhttps://github.com/libgit2/libgit2/pull/4447
Reloadhttps://github.com/libgit2/libgit2/pull/4447
Reloadhttps://github.com/libgit2/libgit2/pull/4447
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4447
libgit2 https://github.com/libgit2
libgit2https://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 423 https://github.com/libgit2/libgit2/issues
Pull requests 110 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 9 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
ethomsonhttps://github.com/ethomson
libgit2:masterhttps://github.com/libgit2/libgit2/tree/master
pks-t:pks/diff-file-contents-refcount-blobhttps://github.com/pks-t/libgit2/tree/pks/diff-file-contents-refcount-blob
Conversationhttps://github.com/libgit2/libgit2/pull/4447
Commits1 (1)https://github.com/libgit2/libgit2/pull/4447/commits
Checkshttps://github.com/libgit2/libgit2/pull/4447/checks
Files changedhttps://github.com/libgit2/libgit2/pull/4447/files
diff_file: properly refcount blobs when initializing file contentshttps://github.com/libgit2/libgit2/pull/4447#top
ethomsonhttps://github.com/ethomson
libgit2:masterhttps://github.com/libgit2/libgit2/tree/master
pks-t:pks/diff-file-contents-refcount-blobhttps://github.com/pks-t/libgit2/tree/pks/diff-file-contents-refcount-blob
https://github.com/pks-t
pks-thttps://github.com/pks-t
Dec 15, 2017https://github.com/libgit2/libgit2/pull/4447#issue-282391469
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4447
https://github.com/pks-t
diff_file: properly refcount blobs when initializing file contentshttps://github.com/libgit2/libgit2/pull/4447/commits/2388a9e2ab0516c2a9146a1c4d15ced3052fef4c
2388a9ehttps://github.com/libgit2/libgit2/pull/4447/commits/2388a9e2ab0516c2a9146a1c4d15ced3052fef4c
https://github.com/pks-t
pks-thttps://github.com/pks-t
Dec 15, 2017https://github.com/libgit2/libgit2/pull/4447#issuecomment-351977530
#4442https://github.com/libgit2/libgit2/issues/4442
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4447
https://github.com/brandonio21
brandonio21https://github.com/brandonio21
Dec 15, 2017https://github.com/libgit2/libgit2/pull/4447#issuecomment-352049988
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4447
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4447
https://github.com/brandonio21
brandonio21https://github.com/brandonio21
Dec 16, 2017https://github.com/libgit2/libgit2/pull/4447#issuecomment-352205151
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4447
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
Dec 16, 2017https://github.com/libgit2/libgit2/pull/4447#issuecomment-352214219
@brandonio21https://github.com/brandonio21
@pks-thttps://github.com/pks-t
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4447
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
fa8cf14https://github.com/libgit2/libgit2/commit/fa8cf14f2ec888bf56e9bed58499736eac8ae040
Dec 16, 2017https://github.com/libgit2/libgit2/pull/4447#event-1390886320
https://github.com/brandonio21
brandonio21https://github.com/brandonio21
Dec 16, 2017 https://github.com/libgit2/libgit2/pull/4447#ref-issue-281140460
git_patch_to_buf Does not work if underlying blob is freed #4442 https://github.com/libgit2/libgit2/issues/4442
https://github.com/pks-t
pks-thttps://github.com/pks-t
backport https://github.com/libgit2/libgit2/issues?q=state%3Aopen%20label%3Abackport
Jan 11, 2018https://github.com/libgit2/libgit2/pull/4447#event-1419648860
https://github.com/pks-t
pks-thttps://github.com/pks-t
Jan 12, 2018 https://github.com/libgit2/libgit2/pull/4447#ref-pullrequest-288082467
v0.26.3 backports #4475 https://github.com/libgit2/libgit2/pull/4475
https://github.com/pks-t
pks-thttps://github.com/pks-t
July 11, 2019 19:05https://github.com/libgit2/libgit2/pull/4447#event-2476961075
https://github.co/hiddenchars
https://github.com/libgit2/libgit2/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%2Flibgit2%2Flibgit2%2Fpull%2F4447
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4447
https://github.com/pks-t
https://github.com/brandonio21
https://github.com/ethomson
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.