René's URL Explorer Experiment


Title: Changing UpdateRepositoryInfo to ClearRepositoryInfo by StanleyGoldman · Pull Request #411 · github-for-unity/Unity · GitHub

Open Graph Title: Changing UpdateRepositoryInfo to ClearRepositoryInfo by StanleyGoldman · Pull Request #411 · github-for-unity/Unity

X Title: Changing UpdateRepositoryInfo to ClearRepositoryInfo by StanleyGoldman · Pull Request #411 · github-for-unity/Unity

Description: As mentioned here #390 (comment) Unity/src/GitHub.Api/Git/Repository.cs Lines 590 to 629 in 88c114e public UriString CloneUrl { get { if (cloneUrl == null) { var currentRemote = CurrentRemote; if (currentRemote.HasValue && currentRemote.Value.Url != null) { cloneUrl = new UriString(currentRemote.Value.Url); } } return cloneUrl; } private set { cloneUrl = value; } } public string Name { get { if (name == null) { var url = CloneUrl; if (url != null) { name = url.RepositoryName; } else { name = LocalPath.FileName; } } return name; } private set { name = value; } } Name and CloneUrl are already calculated lazily. The functionality in UpdateRepositoryInfo is a duplicate of that lazy load. So it would be best to remove UpdateRepositoryInfo and add ClearRepositoryInfo which just clears the values and then lets the lazy load kick in.

Open Graph Description: As mentioned here #390 (comment) Unity/src/GitHub.Api/Git/Repository.cs Lines 590 to 629 in 88c114e publ...

X Description: As mentioned here #390 (comment) Unity/src/GitHub.Api/Git/Repository.cs Lines 590 to 629 in 88c114e publ...

Opengraph URL: https://github.com/github-for-unity/Unity/pull/411

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f9dc467c-d360-fcd4-c976-123df91892dd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCEFA:2BE220:90C5CB:C31FEE:6B00E6EC
html-safe-nonce051c555aba8d985d6263973ce90ce1e9a172fb59497655069f320bb3aee62c5f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUZBOjJCRTIyMDo5MEM1Q0I6QzMxRkVFOjZCMDBFNkVDIiwidmlzaXRvcl9pZCI6Ijc3NzA5MTA3NjU5NzE3MjgxMDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7af058d16711f1906a852d6fbf40420232e9227e4f3574022982e991abef3896
hovercard-subject-tagpull_request:151164200
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github-for-unity/Unity/pull/411/files
twitter:imagehttps://avatars.githubusercontent.com/u/417571?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/417571?s=400&v=4
og:image:altAs mentioned here #390 (comment) Unity/src/GitHub.Api/Git/Repository.cs Lines 590 to 629 in 88c114e publ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github-for-unity/Unity git https://github.com/github-for-unity/Unity.git
octolytics-dimension-user_id28719038
octolytics-dimension-user_logingithub-for-unity
octolytics-dimension-repository_id94770860
octolytics-dimension-repository_nwogithub-for-unity/Unity
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id94770860
octolytics-dimension-repository_network_root_nwogithub-for-unity/Unity
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github-for-unity/Unity/pull/411/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub-for-unity%2FUnity%2Fpull%2F411%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub-for-unity%2FUnity%2Fpull%2F411%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github-for-unity%2FUnity
Reloadhttps://github.com/github-for-unity/Unity/pull/411/files
Reloadhttps://github.com/github-for-unity/Unity/pull/411/files
Reloadhttps://github.com/github-for-unity/Unity/pull/411/files
github-for-unityhttps://github.com/github-for-unity
Unityhttps://github.com/github-for-unity/Unity
Codehttps://github.com/github-for-unity/Unity
Issues10 (10)https://github.com/github-for-unity/Unity/issues
Pull requestshttps://github.com/github-for-unity/Unity/pulls
Actionshttps://github.com/github-for-unity/Unity/actions
Projectshttps://github.com/github-for-unity/Unity/projects
Wikihttps://github.com/github-for-unity/Unity/wiki
Security and qualityhttps://github.com/github-for-unity/Unity/security
Insightshttps://github.com/github-for-unity/Unity/insights
StanleyGoldmanhttps://github.com/StanleyGoldman
masterhttps://github.com/github-for-unity/Unity/tree/master
fixes/update-repository-infohttps://github.com/github-for-unity/Unity/tree/fixes/update-repository-info
Conversation 5 https://github.com/github-for-unity/Unity/pull/411
Commits 4 https://github.com/github-for-unity/Unity/pull/411/commits
Checks 0 https://github.com/github-for-unity/Unity/pull/411/checks
Files changed https://github.com/github-for-unity/Unity/pull/411/files
Please reload this pagehttps://github.com/github-for-unity/Unity/pull/411/files
Changing UpdateRepositoryInfo to ClearRepositoryInfo https://github.com/github-for-unity/Unity/pull/411/files#top
Show all changes 4 commits https://github.com/github-for-unity/Unity/pull/411/files
1aaf329 Changing UpdateRepositoryInfo to ClearRepositoryInfo StanleyGoldman Nov 7, 2017 https://github.com/github-for-unity/Unity/pull/411/commits/1aaf32909f91885a2b3f13b0607a8f789f1411c2
88c114e CloneUrl and Name can be set to null because the property getter will… StanleyGoldman Nov 14, 2017 https://github.com/github-for-unity/Unity/pull/411/commits/88c114e5ac64496dca8b8383905192aaed143f81
8c2130c Merge branch 'master' into fixes/update-repository-info StanleyGoldman Nov 14, 2017 https://github.com/github-for-unity/Unity/pull/411/commits/8c2130c816116c9755559909cae80e5013d8571f
17b1c1e Merge branch 'master' into fixes/update-repository-info StanleyGoldman Nov 20, 2017 https://github.com/github-for-unity/Unity/pull/411/commits/17b1c1e4f64e91cb0ac7460c54728bc75094f74b
Clear filters https://github.com/github-for-unity/Unity/pull/411/files
Please reload this pagehttps://github.com/github-for-unity/Unity/pull/411/files
Please reload this pagehttps://github.com/github-for-unity/Unity/pull/411/files
src/GitHub.Api/Git/Repository.cshttps://github.com/github-for-unity/Unity/pull/411/files#diff-6e20b8b4752d9ef90a049bd3e68a964539e21791650f537ea99e0ec044a85321
View file https://github.com/github-for-unity/Unity/blob/17b1c1e4f64e91cb0ac7460c54728bc75094f74b/src/GitHub.Api/Git/Repository.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github-for-unity/Unity/pull/411/{{ revealButtonHref }}
https://github.com/github-for-unity/Unity/pull/411/files#diff-6e20b8b4752d9ef90a049bd3e68a964539e21791650f537ea99e0ec044a85321
https://github.com/github-for-unity/Unity/pull/411/files#diff-6e20b8b4752d9ef90a049bd3e68a964539e21791650f537ea99e0ec044a85321
https://github.com/github-for-unity/Unity/pull/411/files#diff-6e20b8b4752d9ef90a049bd3e68a964539e21791650f537ea99e0ec044a85321
https://github.com/github-for-unity/Unity/pull/411/files#diff-6e20b8b4752d9ef90a049bd3e68a964539e21791650f537ea99e0ec044a85321
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.