René's URL Explorer Experiment


Title: Ignore files: don't ignore whitespace by ethomson · Pull Request #5076 · libgit2/libgit2 · GitHub

Open Graph Title: Ignore files: don't ignore whitespace by ethomson · Pull Request #5076 · libgit2/libgit2

X Title: Ignore files: don't ignore whitespace by ethomson · Pull Request #5076 · libgit2/libgit2

Description: A cross-platform, linkable library implementation of Git that you can use in your application. - Ignore files: don't ignore whitespace by ethomson · Pull Request #5076 · libgit2/libgit2

Open Graph Description: Whitespace is significant in ignore files. Per the documentation, "trailing spaces are ignored". But leading spaces are not. Ensure that we do not skip leading spaces in ignore files. ...

X Description: Whitespace is significant in ignore files. Per the documentation, "trailing spaces are ignored". But leading spaces are not. Ensure that we do not skip leading spaces in ignore...

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

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:c5612eab-de9a-b789-4152-ce2e3678c6a8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE756:2625C0:16E6E4A:1E9537F:6A5D2E41
html-safe-nonceecd9907185192ff7c5462dc9c1d38c1ed4df4307ca185590e237253a9e03a0c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzU2OjI2MjVDMDoxNkU2RTRBOjFFOTUzN0Y6NkE1RDJFNDEiLCJ2aXNpdG9yX2lkIjoiNTg1MDMzNzUyNDQ3MzIxMjQ4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace03f6734ac2ecf11407906c83f797fd00863373686c7fe44949427947cf3b3fc
hovercard-subject-tagpull_request:280173512
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/5076/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d0c3b99f7dee7aafccca98c734a10bd3fb9e198a9e1f605b5b2fae4f49a16231/libgit2/libgit2/pull/5076
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d0c3b99f7dee7aafccca98c734a10bd3fb9e198a9e1f605b5b2fae4f49a16231/libgit2/libgit2/pull/5076
og:image:altWhitespace is significant in ignore files. Per the documentation, "trailing spaces are ignored". But leading spaces are not. Ensure that we do not skip leading spaces in ignore files. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameethomson
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/libgit2/libgit2/pull/5076#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F5076
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%2F5076
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/5076
Reloadhttps://github.com/libgit2/libgit2/pull/5076
Reloadhttps://github.com/libgit2/libgit2/pull/5076
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
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 422 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 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
masterhttps://github.com/libgit2/libgit2/tree/master
ethomson/ignore_spaceshttps://github.com/libgit2/libgit2/tree/ethomson/ignore_spaces
Conversationhttps://github.com/libgit2/libgit2/pull/5076
Commits4 (4)https://github.com/libgit2/libgit2/pull/5076/commits
Checkshttps://github.com/libgit2/libgit2/pull/5076/checks
Files changedhttps://github.com/libgit2/libgit2/pull/5076/files
Ignore files: don't ignore whitespacehttps://github.com/libgit2/libgit2/pull/5076#top
ethomsonhttps://github.com/ethomson
masterhttps://github.com/libgit2/libgit2/tree/master
ethomson/ignore_spaceshttps://github.com/libgit2/libgit2/tree/ethomson/ignore_spaces
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
May 19, 2019https://github.com/libgit2/libgit2/pull/5076#issue-445827267
#5069https://github.com/libgit2/libgit2/issues/5069
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
force-pushedhttps://github.com/libgit2/libgit2/compare/4cab6bdcd07220f12c5c1a2d196553627079efd1..212e1c7408a457fbf8b77ee9f5e266fb51d6ac92
4cab6bdhttps://github.com/libgit2/libgit2/commit/4cab6bdcd07220f12c5c1a2d196553627079efd1
212e1c7https://github.com/libgit2/libgit2/commit/212e1c7408a457fbf8b77ee9f5e266fb51d6ac92
Compare https://github.com/libgit2/libgit2/compare/4cab6bdcd07220f12c5c1a2d196553627079efd1..212e1c7408a457fbf8b77ee9f5e266fb51d6ac92
May 19, 2019 21:36https://github.com/libgit2/libgit2/pull/5076#event-2351648398
https://github.com/pks-t
pks-thttps://github.com/pks-t
May 21, 2019 https://github.com/libgit2/libgit2/pull/5076#pullrequestreview-239935157
View reviewed changes https://github.com/libgit2/libgit2/pull/5076/files
pks-thttps://github.com/pks-t
https://github.com/libgit2/libgit2/pull/5076#pullrequestreview-239935157
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
tests/status/ignore.chttps://github.com/libgit2/libgit2/pull/5076/files#diff-6f4b5a39d57aa317147103396af4a2daff961da939e4720346f5bcf38939cab2
pks-thttps://github.com/pks-t
May 21, 2019https://github.com/libgit2/libgit2/pull/5076#discussion_r285939398
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
ethomsonhttps://github.com/ethomson
May 24, 2019https://github.com/libgit2/libgit2/pull/5076#discussion_r287376116
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
tests/status/ignore.chttps://github.com/libgit2/libgit2/pull/5076/files#diff-6f4b5a39d57aa317147103396af4a2daff961da939e4720346f5bcf38939cab2
pks-thttps://github.com/pks-t
May 21, 2019https://github.com/libgit2/libgit2/pull/5076#discussion_r285939818
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
ethomsonhttps://github.com/ethomson
May 21, 2019https://github.com/libgit2/libgit2/pull/5076#discussion_r286022933
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
src/attr_file.chttps://github.com/libgit2/libgit2/pull/5076/files#diff-a5c6339ecc713942734dd06e44c402e4bcb301c0408a1aa8a098028ea35bb128
pks-thttps://github.com/pks-t
May 21, 2019https://github.com/libgit2/libgit2/pull/5076#discussion_r285944006
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
src/attr_file.chttps://github.com/libgit2/libgit2/pull/5076/files#diff-a5c6339ecc713942734dd06e44c402e4bcb301c0408a1aa8a098028ea35bb128
pks-thttps://github.com/pks-t
May 21, 2019https://github.com/libgit2/libgit2/pull/5076#discussion_r285945643
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
ethomsonhttps://github.com/ethomson
May 24, 2019https://github.com/libgit2/libgit2/pull/5076#discussion_r287379446
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
ethomsonhttps://github.com/ethomson
May 24, 2019 16:04https://github.com/libgit2/libgit2/pull/5076#commits-pushed-1916490
https://github.com/ethomson
ignore: test that leading whitespace is significanthttps://github.com/libgit2/libgit2/pull/5076/commits/191649010595f533c5ba20ab05d5447d233cf86b
1916490https://github.com/libgit2/libgit2/pull/5076/commits/191649010595f533c5ba20ab05d5447d233cf86b
https://github.com/ethomson
ignore: test that comments begin at position 0https://github.com/libgit2/libgit2/pull/5076/commits/7d3305417bf01d0d8591c322e0b28423df01e4ce
7d33054https://github.com/libgit2/libgit2/pull/5076/commits/7d3305417bf01d0d8591c322e0b28423df01e4ce
https://github.com/ethomson
attr: optionally treat leading whitespace as significanthttps://github.com/libgit2/libgit2/pull/5076/commits/63adcc4e3436abb163426ee431a6f77c29415b10
63adcc4https://github.com/libgit2/libgit2/pull/5076/commits/63adcc4e3436abb163426ee431a6f77c29415b10
https://github.com/ethomson
attr: ensure regular attr files can have whitespacehttps://github.com/libgit2/libgit2/pull/5076/commits/4bcebe2c92d52739e2ea7a92abb26df32ffc2423
4bcebe2https://github.com/libgit2/libgit2/pull/5076/commits/4bcebe2c92d52739e2ea7a92abb26df32ffc2423
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
force-pushedhttps://github.com/libgit2/libgit2/compare/212e1c7408a457fbf8b77ee9f5e266fb51d6ac92..4bcebe2c92d52739e2ea7a92abb26df32ffc2423
212e1c7https://github.com/libgit2/libgit2/commit/212e1c7408a457fbf8b77ee9f5e266fb51d6ac92
4bcebe2https://github.com/libgit2/libgit2/commit/4bcebe2c92d52739e2ea7a92abb26df32ffc2423
Compare https://github.com/libgit2/libgit2/compare/212e1c7408a457fbf8b77ee9f5e266fb51d6ac92..4bcebe2c92d52739e2ea7a92abb26df32ffc2423
May 24, 2019 14:16https://github.com/libgit2/libgit2/pull/5076#event-2365696017
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
e2d4f09https://github.com/libgit2/libgit2/commit/e2d4f09da1a9ae08b8942e8d4e20d831aab4ec7b
Jun 5, 2019https://github.com/libgit2/libgit2/pull/5076#event-2391909733
https://github.com/csware
cswarehttps://github.com/csware
Jun 9, 2019https://github.com/libgit2/libgit2/pull/5076#issuecomment-500233038
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
https://github.com/pks-t
pks-thttps://github.com/pks-t
Jun 9, 2019https://github.com/libgit2/libgit2/pull/5076#issuecomment-500238179
#5097https://github.com/libgit2/libgit2/pull/5097
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
February 2, 2020 13:08https://github.com/libgit2/libgit2/pull/5076#event-3000014627
https://github.com/snyk-bot
snyk-bothttps://github.com/snyk-bot
Feb 23, 2020 https://github.com/libgit2/libgit2/pull/5076#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/5076#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/5076#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%2F5076
https://github.com/pks-t
pks-t https://github.com/pks-t
https://github.com/libgit2/libgit2/pull/5076/files/cdb3807b378396855f51de5750151a8fea58afc7
.gitignore parsing: The parser skips leading whitespace of the first non-empty line https://github.com/libgit2/libgit2/issues/5069
Please reload this pagehttps://github.com/libgit2/libgit2/pull/5076
https://github.com/ethomson
https://github.com/csware
https://github.com/pks-t
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.