René's URL Explorer Experiment


Title: index: Fix alignment issues in write_disk_entry() by glaubitz · Pull Request #4655 · libgit2/libgit2 · GitHub

Open Graph Title: index: Fix alignment issues in write_disk_entry() by glaubitz · Pull Request #4655 · libgit2/libgit2

X Title: index: Fix alignment issues in write_disk_entry() by glaubitz · Pull Request #4655 · libgit2/libgit2

Description: A cross-platform, linkable library implementation of Git that you can use in your application. - index: Fix alignment issues in write_disk_entry() by glaubitz · Pull Request #4655 · libgit2/libgit2

Open Graph Description: In order to avoid alignment issues on certain target architectures, it is necessary to use memcpy() when modifying elements of a struct inside a buffer returned by git_filebuf_reserve(). This fixes...

X Description: In order to avoid alignment issues on certain target architectures, it is necessary to use memcpy() when modifying elements of a struct inside a buffer returned by git_filebuf_reserve(). This fixes...

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

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:f2c7fa3c-9cc9-3366-cb64-25b8ca6389bc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA8B8:355826:3F38D04:52E0B43:6A5D2ED8
html-safe-nonce63633147cb322b05d950c899275323ba4ee25b07b604827d3420bb64ba144741
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEI4OjM1NTgyNjozRjM4RDA0OjUyRTBCNDM6NkE1RDJFRDgiLCJ2aXNpdG9yX2lkIjoiMTg2MTQ2OTY4MjkxNTk0NjIwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaced5483a9ec7bc2ff0e3f323784b55a98887e00155a5dd7ce918581398e4d97e7
hovercard-subject-tagpull_request:190449595
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/4655/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/da2a5d9b76a051853e46a6b8b3d15012251bdb9755cf50e040a3942a4bec8f2c/libgit2/libgit2/pull/4655
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/da2a5d9b76a051853e46a6b8b3d15012251bdb9755cf50e040a3942a4bec8f2c/libgit2/libgit2/pull/4655
og:image:altIn order to avoid alignment issues on certain target architectures, it is necessary to use memcpy() when modifying elements of a struct inside a buffer returned by git_filebuf_reserve(). This fixes...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameglaubitz
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/4655#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F4655
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%2F4655
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/4655
Reloadhttps://github.com/libgit2/libgit2/pull/4655
Reloadhttps://github.com/libgit2/libgit2/pull/4655
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
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
pks-thttps://github.com/pks-t
libgit2:masterhttps://github.com/libgit2/libgit2/tree/master
glaubitz:alignmenthttps://github.com/glaubitz/libgit2/tree/alignment
Conversationhttps://github.com/libgit2/libgit2/pull/4655
Commits1 (1)https://github.com/libgit2/libgit2/pull/4655/commits
Checkshttps://github.com/libgit2/libgit2/pull/4655/checks
Files changedhttps://github.com/libgit2/libgit2/pull/4655/files
index: Fix alignment issues in write_disk_entry()https://github.com/libgit2/libgit2/pull/4655#top
pks-thttps://github.com/pks-t
libgit2:masterhttps://github.com/libgit2/libgit2/tree/master
glaubitz:alignmenthttps://github.com/glaubitz/libgit2/tree/alignment
https://github.com/glaubitz
glaubitzhttps://github.com/glaubitz
May 24, 2018https://github.com/libgit2/libgit2/pull/4655#issue-326335415
https://buildd.debian.org/status/package.php?p=libgit2&suite=sidhttps://buildd.debian.org/status/package.php?p=libgit2&suite=sid
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/pks-t
pks-thttps://github.com/pks-t
May 25, 2018 https://github.com/libgit2/libgit2/pull/4655#pullrequestreview-123286738
View reviewed changes https://github.com/libgit2/libgit2/pull/4655/files
pks-thttps://github.com/pks-t
https://github.com/libgit2/libgit2/pull/4655#pullrequestreview-123286738
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
src/index.chttps://github.com/libgit2/libgit2/pull/4655/files#diff-92aa11bc79b898a56e4f87d8da8e6c12a4a3e82e84e80dd499d956acec7aefe7
pks-thttps://github.com/pks-t
May 25, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r190826707
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
glaubitzhttps://github.com/glaubitz
May 25, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r190846843
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
glaubitzhttps://github.com/glaubitz
May 25, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r190868266
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
src/index.chttps://github.com/libgit2/libgit2/pull/4655/files#diff-92aa11bc79b898a56e4f87d8da8e6c12a4a3e82e84e80dd499d956acec7aefe7
pks-thttps://github.com/pks-t
May 25, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r190828704
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
glaubitzhttps://github.com/glaubitz
May 25, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r190847591
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/glaubitz
glaubitzhttps://github.com/glaubitz
May 25, 2018https://github.com/libgit2/libgit2/pull/4655#issuecomment-392005060
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/glaubitz
glaubitzhttps://github.com/glaubitz
force-pushedhttps://github.com/libgit2/libgit2/compare/263e2c26fec9f665a8bd94b689d96e508381514d..2ce5a21f46e78cdc3f04cb783e372828494199d5
263e2c2https://github.com/libgit2/libgit2/commit/263e2c26fec9f665a8bd94b689d96e508381514d
2ce5a21https://github.com/libgit2/libgit2/commit/2ce5a21f46e78cdc3f04cb783e372828494199d5
Compare https://github.com/libgit2/libgit2/compare/263e2c26fec9f665a8bd94b689d96e508381514d..2ce5a21f46e78cdc3f04cb783e372828494199d5
May 25, 2018 11:49https://github.com/libgit2/libgit2/pull/4655#event-1646446468
https://github.com/glaubitz
glaubitzhttps://github.com/glaubitz
May 25, 2018https://github.com/libgit2/libgit2/pull/4655#issuecomment-392029571
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/glaubitz
glaubitzhttps://github.com/glaubitz
May 31, 2018https://github.com/libgit2/libgit2/pull/4655#issuecomment-393489393
@pks-thttps://github.com/pks-t
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/pks-t
pks-thttps://github.com/pks-t
Jun 1, 2018 https://github.com/libgit2/libgit2/pull/4655#pullrequestreview-125111249
View reviewed changes https://github.com/libgit2/libgit2/pull/4655/files
src/index.chttps://github.com/libgit2/libgit2/pull/4655/files#diff-92aa11bc79b898a56e4f87d8da8e6c12a4a3e82e84e80dd499d956acec7aefe7
pks-thttps://github.com/pks-t
Jun 1, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r192350872
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
glaubitzhttps://github.com/glaubitz
Jun 1, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r192353005
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
pks-thttps://github.com/pks-t
Jun 1, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r192361583
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
pks-thttps://github.com/pks-t
Jun 1, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r192361703
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
glaubitzhttps://github.com/glaubitz
Jun 1, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r192362122
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
glaubitzhttps://github.com/glaubitz
Jun 1, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r192362869
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
glaubitzhttps://github.com/glaubitz
Jun 1, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r192363232
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
src/index.chttps://github.com/libgit2/libgit2/pull/4655/files#diff-92aa11bc79b898a56e4f87d8da8e6c12a4a3e82e84e80dd499d956acec7aefe7
pks-thttps://github.com/pks-t
Jun 1, 2018https://github.com/libgit2/libgit2/pull/4655#discussion_r192351569
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/pks-t
pks-thttps://github.com/pks-t
Jun 1, 2018https://github.com/libgit2/libgit2/pull/4655#issuecomment-393835387
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/glaubitz
index: Fix alignment issues in write_disk_entry()https://github.com/libgit2/libgit2/pull/4655/commits/93271f590710772a9f71448d67e818235d07219c
93271f5https://github.com/libgit2/libgit2/pull/4655/commits/93271f590710772a9f71448d67e818235d07219c
https://github.com/glaubitz
glaubitzhttps://github.com/glaubitz
force-pushedhttps://github.com/libgit2/libgit2/compare/2ce5a21f46e78cdc3f04cb783e372828494199d5..93271f590710772a9f71448d67e818235d07219c
2ce5a21https://github.com/libgit2/libgit2/commit/2ce5a21f46e78cdc3f04cb783e372828494199d5
93271f5https://github.com/libgit2/libgit2/commit/93271f590710772a9f71448d67e818235d07219c
Compare https://github.com/libgit2/libgit2/compare/2ce5a21f46e78cdc3f04cb783e372828494199d5..93271f590710772a9f71448d67e818235d07219c
June 1, 2018 11:04https://github.com/libgit2/libgit2/pull/4655#event-1658053501
https://github.com/glaubitz
glaubitzhttps://github.com/glaubitz
Jun 1, 2018https://github.com/libgit2/libgit2/pull/4655#issuecomment-393848175
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/pks-t
pks-thttps://github.com/pks-t
Jun 1, 2018 https://github.com/libgit2/libgit2/pull/4655#pullrequestreview-125131832
View reviewed changes https://github.com/libgit2/libgit2/pull/4655/files/93271f590710772a9f71448d67e818235d07219c
https://github.com/pks-t
pks-thttps://github.com/pks-t
Jun 1, 2018https://github.com/libgit2/libgit2/pull/4655#issuecomment-393852128
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/glaubitz
glaubitzhttps://github.com/glaubitz
Jun 4, 2018https://github.com/libgit2/libgit2/pull/4655#issuecomment-394312869
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/pks-t
pks-thttps://github.com/pks-t
422cd59https://github.com/libgit2/libgit2/commit/422cd59b7544b8da3b60666a2a1e9a162fd4eaa7
Jun 7, 2018https://github.com/libgit2/libgit2/pull/4655#event-1668247424
https://github.com/pks-t
pks-thttps://github.com/pks-t
Jun 7, 2018https://github.com/libgit2/libgit2/pull/4655#issuecomment-395377922
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/snyk-bot
snyk-bothttps://github.com/snyk-bot
Feb 23, 2020 https://github.com/libgit2/libgit2/pull/4655#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/4655#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/4655#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.com/ethomson
ethomsonhttps://github.com/ethomson
May 12, 2021 https://github.com/libgit2/libgit2/pull/4655#ref-issue-890131021
CI system improvements #5871 https://github.com/libgit2/libgit2/issues/5871
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%2F4655
https://github.com/pks-t
pks-t https://github.com/pks-t
https://github.com/libgit2/libgit2/pull/4655/files/93271f590710772a9f71448d67e818235d07219c
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4655
https://github.com/glaubitz
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.