René's URL Explorer Experiment


Title: Config parser cleanups by pks-t · Pull Request #4411 · libgit2/libgit2 · GitHub

Open Graph Title: Config parser cleanups by pks-t · Pull Request #4411 · libgit2/libgit2

X Title: Config parser cleanups by pks-t · Pull Request #4411 · libgit2/libgit2

Description: A cross-platform, linkable library implementation of Git that you can use in your application. - Config parser cleanups by pks-t · Pull Request #4411 · libgit2/libgit2

Open Graph Description: Two small cleanups to make code more readable in our config parser.

X Description: Two small cleanups to make code more readable in our config parser.

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

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:48c1c4c2-25b8-3b38-cd30-fc5b13fa8596
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD206:29EF90:4777014:625D5B3:6A5E1D5D
html-safe-nonce68cf270b28aad0c04f9063793feb502bbf3a2709a9e03a4584bba42279324b45
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjA2OjI5RUY5MDo0Nzc3MDE0OjYyNUQ1QjM6NkE1RTFENUQiLCJ2aXNpdG9yX2lkIjoiNTcwMzAyODI2NDI4NTczMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd5c223ab2c6e58dc28b78eaf02b2274b6ea6a7505df77e0ddc08e47b1c410875
hovercard-subject-tagpull_request:152105899
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/4411/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1ea44899b3e97e5aa00806133a80c2f727ea9cabc64618c4ce3ba8b507080fa5/libgit2/libgit2/pull/4411
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1ea44899b3e97e5aa00806133a80c2f727ea9cabc64618c4ce3ba8b507080fa5/libgit2/libgit2/pull/4411
og:image:altTwo small cleanups to make code more readable in our config parser.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepks-t
hostnamegithub.com
expected-hostnamegithub.com
None7a60e060dad2c24f72179d36247204b454da37845d1728020cd42046a433f87f
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
release0ae7f3ea7b1bb2f1f4623bb093bbf54cee05d830
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/libgit2/libgit2/pull/4411#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F4411
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%2F4411
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/4411
Reloadhttps://github.com/libgit2/libgit2/pull/4411
Reloadhttps://github.com/libgit2/libgit2/pull/4411
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4411
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
ethomsonhttps://github.com/ethomson
libgit2:masterhttps://github.com/libgit2/libgit2/tree/master
pks-t:pks/config-parse-cleanupshttps://github.com/pks-t/libgit2/tree/pks/config-parse-cleanups
Conversationhttps://github.com/libgit2/libgit2/pull/4411
Commits3 (3)https://github.com/libgit2/libgit2/pull/4411/commits
Checkshttps://github.com/libgit2/libgit2/pull/4411/checks
Files changedhttps://github.com/libgit2/libgit2/pull/4411/files
Config parser cleanupshttps://github.com/libgit2/libgit2/pull/4411#top
ethomsonhttps://github.com/ethomson
libgit2:masterhttps://github.com/libgit2/libgit2/tree/master
pks-t:pks/config-parse-cleanupshttps://github.com/pks-t/libgit2/tree/pks/config-parse-cleanups
https://github.com/pks-t
pks-thttps://github.com/pks-t
Nov 12, 2017https://github.com/libgit2/libgit2/pull/4411#issue-273233439
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4411
https://github.com/pks-t
pks-thttps://github.com/pks-t
ethomsonhttps://github.com/ethomson
November 12, 2017 14:12https://github.com/libgit2/libgit2/pull/4411#event-1337612432
https://github.com/pks-t
pks-thttps://github.com/pks-t
bloomberg https://github.com/libgit2/libgit2/issues?q=state%3Aopen%20label%3Abloomberg
Nov 12, 2017https://github.com/libgit2/libgit2/pull/4411#event-1337615430
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
Dec 27, 2017 https://github.com/libgit2/libgit2/pull/4411#pullrequestreview-85663149
View reviewed changes https://github.com/libgit2/libgit2/pull/4411/files
src/config_file.chttps://github.com/libgit2/libgit2/pull/4411/files#diff-7f7808ba971e4b3ec68bee87f98d20c21c3e0e8453734e7ad0c7655e44faebcf
ethomsonhttps://github.com/ethomson
Dec 27, 2017https://github.com/libgit2/libgit2/pull/4411#discussion_r158805046
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4411
pks-thttps://github.com/pks-t
Jan 3, 2018https://github.com/libgit2/libgit2/pull/4411#discussion_r159412787
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4411
https://github.com/pks-t
pks-thttps://github.com/pks-t
force-pushedhttps://github.com/libgit2/libgit2/compare/a0c502929dc663ef1ea144f7f56c4903d0966819..81da513e8bf1079d701e68b11f03c6f2e816ecfe
a0c5029https://github.com/libgit2/libgit2/commit/a0c502929dc663ef1ea144f7f56c4903d0966819
81da513https://github.com/libgit2/libgit2/commit/81da513e8bf1079d701e68b11f03c6f2e816ecfe
Compare https://github.com/libgit2/libgit2/compare/a0c502929dc663ef1ea144f7f56c4903d0966819..81da513e8bf1079d701e68b11f03c6f2e816ecfe
January 3, 2018 12:39https://github.com/libgit2/libgit2/pull/4411#event-1407709228
https://github.com/pks-t
pks-thttps://github.com/pks-t
Jan 3, 2018https://github.com/libgit2/libgit2/pull/4411#issuecomment-355002607
@ethomsonhttps://github.com/ethomson
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4411
https://github.com/carlosmn
carlosmnhttps://github.com/carlosmn
Jan 6, 2018 https://github.com/libgit2/libgit2/pull/4411#pullrequestreview-87079324
View reviewed changes https://github.com/libgit2/libgit2/pull/4411/files
src/config_file.chttps://github.com/libgit2/libgit2/pull/4411/files#diff-7f7808ba971e4b3ec68bee87f98d20c21c3e0e8453734e7ad0c7655e44faebcf
carlosmnhttps://github.com/carlosmn
Jan 6, 2018https://github.com/libgit2/libgit2/pull/4411#discussion_r160029627
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4411
pks-thttps://github.com/pks-t
Jan 9, 2018https://github.com/libgit2/libgit2/pull/4411#discussion_r160427768
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4411
https://github.com/pks-t
pks-thttps://github.com/pks-t
force-pushedhttps://github.com/libgit2/libgit2/compare/a2bff868cf5ddaef31ed6ce867d889220ae8379e..a59bb703a8faa8b22f1120d33797dcf278cd2a8f
a2bff86https://github.com/libgit2/libgit2/commit/a2bff868cf5ddaef31ed6ce867d889220ae8379e
a59bb70https://github.com/libgit2/libgit2/commit/a59bb703a8faa8b22f1120d33797dcf278cd2a8f
Compare https://github.com/libgit2/libgit2/compare/a2bff868cf5ddaef31ed6ce867d889220ae8379e..a59bb703a8faa8b22f1120d33797dcf278cd2a8f
January 26, 2018 14:17https://github.com/libgit2/libgit2/pull/4411#event-1443651287
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
carlosmnhttps://github.com/carlosmn
stale reviewhttps://github.com/libgit2/libgit2/pull/4411#pullrequestreview-87079324
April 17, 2018 23:36https://github.com/libgit2/libgit2/pull/4411#event-1580223040
https://github.com/pks-t
pks-thttps://github.com/pks-t
force-pushedhttps://github.com/libgit2/libgit2/compare/a59bb703a8faa8b22f1120d33797dcf278cd2a8f..c3b4e1da420b11e22559d53519d27d5eb50fbea9
a59bb70https://github.com/libgit2/libgit2/commit/a59bb703a8faa8b22f1120d33797dcf278cd2a8f
c3b4e1dhttps://github.com/libgit2/libgit2/commit/c3b4e1da420b11e22559d53519d27d5eb50fbea9
Compare https://github.com/libgit2/libgit2/compare/a59bb703a8faa8b22f1120d33797dcf278cd2a8f..c3b4e1da420b11e22559d53519d27d5eb50fbea9
May 30, 2018 09:03https://github.com/libgit2/libgit2/pull/4411#event-1653014729
https://github.com/pks-t
pks-thttps://github.com/pks-t
May 30, 2018https://github.com/libgit2/libgit2/pull/4411#issuecomment-393086629
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4411
pks-thttps://github.com/pks-t
June 22, 2018 09:44https://github.com/libgit2/libgit2/pull/4411#commits-pushed-e51e29e
https://github.com/pks-t
config_parse: have git_config_parse own entry value and namehttps://github.com/libgit2/libgit2/pull/4411/commits/e51e29e84c16f7a5d9079c2dc645301a54fdb172
e51e29ehttps://github.com/libgit2/libgit2/pull/4411/commits/e51e29e84c16f7a5d9079c2dc645301a54fdb172
https://github.com/pks-t
config_parse: always sanitize out-parameters in parse_variablehttps://github.com/libgit2/libgit2/pull/4411/commits/83b5f161facf117681df47cbeeb13b95dc3ea9c5
83b5f16https://github.com/libgit2/libgit2/pull/4411/commits/83b5f161facf117681df47cbeeb13b95dc3ea9c5
https://github.com/pks-t
config_file: avoid free'ing OOM buffershttps://github.com/libgit2/libgit2/pull/4411/commits/e1e90dccb252dc92490ad620d98c581636df0adf
e1e90dchttps://github.com/libgit2/libgit2/pull/4411/commits/e1e90dccb252dc92490ad620d98c581636df0adf
https://github.com/pks-t
pks-thttps://github.com/pks-t
force-pushedhttps://github.com/libgit2/libgit2/compare/c3b4e1da420b11e22559d53519d27d5eb50fbea9..e1e90dccb252dc92490ad620d98c581636df0adf
c3b4e1dhttps://github.com/libgit2/libgit2/commit/c3b4e1da420b11e22559d53519d27d5eb50fbea9
e1e90dchttps://github.com/libgit2/libgit2/commit/e1e90dccb252dc92490ad620d98c581636df0adf
Compare https://github.com/libgit2/libgit2/compare/c3b4e1da420b11e22559d53519d27d5eb50fbea9..e1e90dccb252dc92490ad620d98c581636df0adf
June 22, 2018 07:48https://github.com/libgit2/libgit2/pull/4411#event-1695352451
https://github.com/pks-t
pks-thttps://github.com/pks-t
Jun 22, 2018https://github.com/libgit2/libgit2/pull/4411#issuecomment-399354055
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4411
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
b121b7ahttps://github.com/libgit2/libgit2/commit/b121b7ac972156cdc67b25be075fd62450b57f29
Jun 22, 2018https://github.com/libgit2/libgit2/pull/4411#event-1695536658
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
Jun 22, 2018https://github.com/libgit2/libgit2/pull/4411#issuecomment-399382297
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4411
https://github.com/pks-t
pks-thttps://github.com/pks-t
June 22, 2018 10:27https://github.com/libgit2/libgit2/pull/4411#event-1695647601
https://github.com/snyk-bot
snyk-bothttps://github.com/snyk-bot
Feb 23, 2020 https://github.com/libgit2/libgit2/pull/4411#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/4411#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/4411#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%2F4411
https://github.com/ethomson
ethomson https://github.com/ethomson
https://github.com/libgit2/libgit2/pull/4411/files/a0c502929dc663ef1ea144f7f56c4903d0966819
https://github.com/carlosmn
carlosmn https://github.com/carlosmn
https://github.com/libgit2/libgit2/pull/4411/files/81da513e8bf1079d701e68b11f03c6f2e816ecfe
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4411
https://github.com/pks-t
https://github.com/ethomson
https://github.com/carlosmn
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.