René's URL Explorer Experiment


Title: [RFC] util: introduce GIT_DOWNCAST macro by pks-t · Pull Request #4561 · libgit2/libgit2 · GitHub

Open Graph Title: [RFC] util: introduce GIT_DOWNCAST macro by pks-t · Pull Request #4561 · libgit2/libgit2

X Title: [RFC] util: introduce GIT_DOWNCAST macro by pks-t · Pull Request #4561 · libgit2/libgit2

Description: A cross-platform, linkable library implementation of Git that you can use in your application. - [RFC] util: introduce GIT_DOWNCAST macro by pks-t · Pull Request #4561 · libgit2/libgit2

Open Graph Description: In some parts of our code, we make rather heavy use of downcasting structures to their respective specialized implementation. One example is the configuration code with the general git_config_backe...

X Description: In some parts of our code, we make rather heavy use of downcasting structures to their respective specialized implementation. One example is the configuration code with the general git_config_backe...

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

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:5b0e31cb-86f4-103d-cdc3-1182e258c5b7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD1B2:5592:4484434:5DBE5C5:6A5E0AEE
html-safe-nonced5f558cf056e9eccb3599a50a29fb5aed1c61dd0a2a67ed8f9f74cc3a822ecec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUIyOjU1OTI6NDQ4NDQzNDo1REJFNUM1OjZBNUUwQUVFIiwidmlzaXRvcl9pZCI6IjYwMTg3MTM1MjI1MTUzNDgyMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac715b2d5d5442a1213db91b552badc1e0ccc7e450491651d17f5770546e3d4585
hovercard-subject-tagpull_request:172556660
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/4561/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/abf609463db88822906555184d799d6db9c60b9a303795bc474693794d2a5ec9/libgit2/libgit2/pull/4561
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/abf609463db88822906555184d799d6db9c60b9a303795bc474693794d2a5ec9/libgit2/libgit2/pull/4561
og:image:altIn some parts of our code, we make rather heavy use of downcasting structures to their respective specialized implementation. One example is the configuration code with the general git_config_backe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepks-t
hostnamegithub.com
expected-hostnamegithub.com
None7c1de870f4c0eff05971cd22970403a1239a98dc1a35e52a43594f23fc4d546f
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
releasee90635d4b07e4a20ff548df2e2bfea2179c6a3f3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/libgit2/libgit2/pull/4561#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F4561
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%2Flibgit2%2Flibgit2%2Fpull%2F4561
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/4561
Reloadhttps://github.com/libgit2/libgit2/pull/4561
Reloadhttps://github.com/libgit2/libgit2/pull/4561
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
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 108 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
pks-thttps://github.com/pks-t
libgit2:masterhttps://github.com/libgit2/libgit2/tree/master
pks-t:pks/downcastinghttps://github.com/pks-t/libgit2/tree/pks/downcasting
Conversationhttps://github.com/libgit2/libgit2/pull/4561
Commits5 (5)https://github.com/libgit2/libgit2/pull/4561/commits
Checkshttps://github.com/libgit2/libgit2/pull/4561/checks
Files changedhttps://github.com/libgit2/libgit2/pull/4561/files
[RFC] util: introduce GIT_DOWNCAST macrohttps://github.com/libgit2/libgit2/pull/4561#top
pks-thttps://github.com/pks-t
libgit2:masterhttps://github.com/libgit2/libgit2/tree/master
pks-t:pks/downcastinghttps://github.com/pks-t/libgit2/tree/pks/downcasting
https://github.com/pks-t
pks-thttps://github.com/pks-t
Mar 2, 2018https://github.com/libgit2/libgit2/pull/4561#issue-301839823
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
2424e64https://github.com/libgit2/libgit2/commit/2424e64c4edf55e823fa42c365e4b80f67ed4df6
2424e64https://github.com/libgit2/libgit2/commit/2424e64c4edf55e823fa42c365e4b80f67ed4df6
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
https://github.com/pks-t
pks-thttps://github.com/pks-t
force-pushedhttps://github.com/libgit2/libgit2/compare/a4a4043e6b66145bb41cf933e5a41b77269e10e9..00cae6ce45746f3ea83ca408fa4c65ebfd54b6b2
a4a4043https://github.com/libgit2/libgit2/commit/a4a4043e6b66145bb41cf933e5a41b77269e10e9
00cae6chttps://github.com/libgit2/libgit2/commit/00cae6ce45746f3ea83ca408fa4c65ebfd54b6b2
Compare https://github.com/libgit2/libgit2/compare/a4a4043e6b66145bb41cf933e5a41b77269e10e9..00cae6ce45746f3ea83ca408fa4c65ebfd54b6b2
March 2, 2018 17:14https://github.com/libgit2/libgit2/pull/4561#event-1501593707
https://github.com/pks-t
pks-thttps://github.com/pks-t
force-pushedhttps://github.com/libgit2/libgit2/compare/00cae6ce45746f3ea83ca408fa4c65ebfd54b6b2..605b98aec970dc3a3124e85b4e92afbfa814568d
00cae6chttps://github.com/libgit2/libgit2/commit/00cae6ce45746f3ea83ca408fa4c65ebfd54b6b2
605b98ahttps://github.com/libgit2/libgit2/commit/605b98aec970dc3a3124e85b4e92afbfa814568d
Compare https://github.com/libgit2/libgit2/compare/00cae6ce45746f3ea83ca408fa4c65ebfd54b6b2..605b98aec970dc3a3124e85b4e92afbfa814568d
March 22, 2018 10:01https://github.com/libgit2/libgit2/pull/4561#event-1535171907
https://github.com/pks-t
pks-thttps://github.com/pks-t
Mar 22, 2018https://github.com/libgit2/libgit2/pull/4561#issuecomment-375242161
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
https://github.com/tiennou
tiennouhttps://github.com/tiennou
Jun 22, 2018https://github.com/libgit2/libgit2/pull/4561#issuecomment-399579820
102c52dhttps://github.com/libgit2/libgit2/commit/102c52dcba6b95119b0481b2da191623d4562c16
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
https://github.com/pks-t
pks-thttps://github.com/pks-t
force-pushedhttps://github.com/libgit2/libgit2/compare/605b98aec970dc3a3124e85b4e92afbfa814568d..3744449e811d4f137d35ed416ffbeda068278f88
605b98ahttps://github.com/libgit2/libgit2/commit/605b98aec970dc3a3124e85b4e92afbfa814568d
3744449https://github.com/libgit2/libgit2/commit/3744449e811d4f137d35ed416ffbeda068278f88
Compare https://github.com/libgit2/libgit2/compare/605b98aec970dc3a3124e85b4e92afbfa814568d..3744449e811d4f137d35ed416ffbeda068278f88
July 6, 2018 08:44https://github.com/libgit2/libgit2/pull/4561#event-1719783742
https://github.com/pks-t
pks-thttps://github.com/pks-t
Jul 6, 2018https://github.com/libgit2/libgit2/pull/4561#issuecomment-402969552
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
https://github.com/tiennou
tiennouhttps://github.com/tiennou
Apr 5, 2019https://github.com/libgit2/libgit2/pull/4561#issuecomment-480269250
master...tiennou:pks/downcastinghttps://github.com/libgit2/libgit2/compare/master...tiennou:pks/downcasting
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
pks-thttps://github.com/pks-t
April 16, 2019 13:21https://github.com/libgit2/libgit2/pull/4561#commits-pushed-b5f4044
https://github.com/pks-t
util: introduce GIT_CONTAINER_OF macrohttps://github.com/libgit2/libgit2/pull/4561/commits/b5f40441f51b091cf34e33153271fbaee133ddc2
b5f4044https://github.com/libgit2/libgit2/pull/4561/commits/b5f40441f51b091cf34e33153271fbaee133ddc2
2424e64https://github.com/pks-t/libgit2/commit/2424e64c4edf55e823fa42c365e4b80f67ed4df6
https://github.com/pks-t
config_file: make use of GIT_CONTAINER_OF macrohttps://github.com/libgit2/libgit2/pull/4561/commits/65203b5af54e672b19db7fc3473db29513fabc7a
65203b5https://github.com/libgit2/libgit2/pull/4561/commits/65203b5af54e672b19db7fc3473db29513fabc7a
https://github.com/tiennou
https://github.com/pks-t
refdb_fs: make use of the GIT_CONTAINER_OF macrohttps://github.com/libgit2/libgit2/pull/4561/commits/2e246474c52551a51dcd2731336258be78bded71
2e24647https://github.com/libgit2/libgit2/pull/4561/commits/2e246474c52551a51dcd2731336258be78bded71
https://github.com/tiennou
https://github.com/pks-t
transports: make use of the GIT_CONTAINER_OF macrohttps://github.com/libgit2/libgit2/pull/4561/commits/b51789ac25b845bb969a39f347b75f0f11381542
b51789ahttps://github.com/libgit2/libgit2/pull/4561/commits/b51789ac25b845bb969a39f347b75f0f11381542
https://github.com/tiennou
https://github.com/pks-t
iterator: make use the GIT_CONTAINER_OF macrohttps://github.com/libgit2/libgit2/pull/4561/commits/431601f2922c47d5a9e4394589d076da78d6d146
431601fhttps://github.com/libgit2/libgit2/pull/4561/commits/431601f2922c47d5a9e4394589d076da78d6d146
https://github.com/pks-t
pks-thttps://github.com/pks-t
force-pushedhttps://github.com/libgit2/libgit2/compare/3744449e811d4f137d35ed416ffbeda068278f88..431601f2922c47d5a9e4394589d076da78d6d146
3744449https://github.com/libgit2/libgit2/commit/3744449e811d4f137d35ed416ffbeda068278f88
431601fhttps://github.com/libgit2/libgit2/commit/431601f2922c47d5a9e4394589d076da78d6d146
Compare https://github.com/libgit2/libgit2/compare/3744449e811d4f137d35ed416ffbeda068278f88..431601f2922c47d5a9e4394589d076da78d6d146
April 16, 2019 11:22https://github.com/libgit2/libgit2/pull/4561#event-2279345893
https://github.com/pks-t
pks-thttps://github.com/pks-t
Apr 16, 2019https://github.com/libgit2/libgit2/pull/4561#issuecomment-483619697
@tiennouhttps://github.com/tiennou
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
https://github.com/pks-t
pks-thttps://github.com/pks-t
Apr 26, 2019https://github.com/libgit2/libgit2/pull/4561#issuecomment-486996489
@tiennouhttps://github.com/tiennou
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
https://github.com/tiennou
tiennouhttps://github.com/tiennou
Apr 26, 2019https://github.com/libgit2/libgit2/pull/4561#issuecomment-486997626
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
https://github.com/pks-t
pks-thttps://github.com/pks-t
Apr 26, 2019https://github.com/libgit2/libgit2/pull/4561#issuecomment-486999708
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
https://github.com/tiennou
tiennouhttps://github.com/tiennou
April 26, 2019 15:02https://github.com/libgit2/libgit2/pull/4561#event-2303366220
https://github.com/tiennou
tiennouhttps://github.com/tiennou
Apr 26, 2019 https://github.com/libgit2/libgit2/pull/4561#pullrequestreview-231207640
View reviewed changes https://github.com/libgit2/libgit2/pull/4561/files/431601f2922c47d5a9e4394589d076da78d6d146
tiennouhttps://github.com/tiennou
https://github.com/libgit2/libgit2/pull/4561#pullrequestreview-231207640
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@pks-thttps://github.com/pks-t
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
April 26, 2019 15:25https://github.com/libgit2/libgit2/pull/4561#event-2303431580
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
Apr 26, 2019 https://github.com/libgit2/libgit2/pull/4561#pullrequestreview-231219116
View reviewed changes https://github.com/libgit2/libgit2/pull/4561/files/431601f2922c47d5a9e4394589d076da78d6d146
https://github.com/pks-t
pks-thttps://github.com/pks-t
bc5b19ehttps://github.com/libgit2/libgit2/commit/bc5b19e60406b2b0b7173d866a808313fca2b4ce
Apr 29, 2019https://github.com/libgit2/libgit2/pull/4561#event-2305846588
https://github.com/pks-t
pks-thttps://github.com/pks-t
April 29, 2019 07:01https://github.com/libgit2/libgit2/pull/4561#event-2305846836
https://github.com/pks-t
pks-thttps://github.com/pks-t
Apr 29, 2019https://github.com/libgit2/libgit2/pull/4561#issuecomment-487470610
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
https://github.com/snyk-bot
snyk-bothttps://github.com/snyk-bot
Feb 23, 2020 https://github.com/libgit2/libgit2/pull/4561#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/libgit2/libgit2/pull/4561#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/libgit2/libgit2/pull/4561#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/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%2F4561
https://github.com/tiennou
tiennou https://github.com/tiennou
https://github.com/libgit2/libgit2/pull/4561/files/431601f2922c47d5a9e4394589d076da78d6d146
https://github.com/ethomson
ethomson https://github.com/ethomson
https://github.com/libgit2/libgit2/pull/4561/files/431601f2922c47d5a9e4394589d076da78d6d146
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4561
https://github.com/pks-t
https://github.com/tiennou
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.