Title: Get-BuildVariables fails if git is aliased to hub.exe · Issue #80 · PowerShellOrg/BuildHelpers · GitHub
Open Graph Title: Get-BuildVariables fails if git is aliased to hub.exe · Issue #80 · PowerShellOrg/BuildHelpers
X Title: Get-BuildVariables fails if git is aliased to hub.exe · Issue #80 · PowerShellOrg/BuildHelpers
Description: hub is a tool put out by github that adds capabilities to git. The recommended way to use hub is to alias git to hub.exe, so that it can transparently handle the things it knows how to handle, and just pass on any commands that it doesn'...
Open Graph Description: hub is a tool put out by github that adds capabilities to git. The recommended way to use hub is to alias git to hub.exe, so that it can transparently handle the things it knows how to handle, and ...
X Description: hub is a tool put out by github that adds capabilities to git. The recommended way to use hub is to alias git to hub.exe, so that it can transparently handle the things it knows how to handle, and ...
Opengraph URL: https://github.com/PowerShellOrg/BuildHelpers/issues/80
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get-BuildVariables fails if git is aliased to hub.exe","articleBody":"[hub](https://github.com/github/hub) is a tool put out by github that adds capabilities to git. The recommended way to use hub is to alias git to hub.exe, so that it can transparently handle the things it knows how to handle, and just pass on any commands that it doesn't.\r\n\r\nWhen executing Get-BuildVariables cmdlet the line that attempts to [find the path to git.exe](https://github.com/RamblingCookieMonster/BuildHelpers/blob/a8793c8046f74602fca03b99d487ee15b703c8da/BuildHelpers/Public/Get-BuildVariables.ps1#L78) uses the Get-Command cmdlet. This will not work in cases where git is aliased as no Path property is returned.\r\n\r\nA different approach that either finds git.exe directly by looking at paths in the PATH variable, or one that accepts an alias, may be needed to support this scenario on workstations.\r\n\r\nWhile this error should rarely or never be encountered on the build servers this module is intended to be used on, it is also used on developer workstations where this error can reasonable be expected crop up once in a while.","author":{"url":"https://github.com/RandomNoun7","@type":"Person","name":"RandomNoun7"},"datePublished":"2018-11-13T06:40:09Z","url":"https://github.com/PowerShellOrg/BuildHelpers/issues/80"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cf7cbabf-292f-c9db-a995-eb756137be27 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C96:E94F3:27970:363BA:6AFD36FD |
| html-safe-nonce | 72aa01f9a2e9295c5669acf7595b73954036e0c4ddd590dfcf8bbad89a6fe5cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qzk2OkU5NEYzOjI3OTcwOjM2M0JBOjZBRkQzNkZEIiwidmlzaXRvcl9pZCI6IjE5MDM4NzkwNDA0MTA2NjI2NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a217bc528ecdb5b12c2eaf10a059afc4f98989980d1e2791d4fcb85a552cb294 |
| hovercard-subject-tag | issue:380080779 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShellOrg/BuildHelpers/80/issue_layout |
| twitter:image | https://opengraph.githubassets.com/88b7b185a4256345b8b6e69f4a7d32e04ca6806e6eddeb923596d5ecf5b4406b/PowerShellOrg/BuildHelpers/issues/80 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/88b7b185a4256345b8b6e69f4a7d32e04ca6806e6eddeb923596d5ecf5b4406b/PowerShellOrg/BuildHelpers/issues/80 |
| og:image:alt | hub is a tool put out by github that adds capabilities to git. The recommended way to use hub is to alias git to hub.exe, so that it can transparently handle the things it knows how to handle, and ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RandomNoun7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShellOrg/BuildHelpers git https://github.com/PowerShellOrg/BuildHelpers.git |
| octolytics-dimension-user_id | 4895314 |
| octolytics-dimension-user_login | PowerShellOrg |
| octolytics-dimension-repository_id | 59748913 |
| octolytics-dimension-repository_nwo | PowerShellOrg/BuildHelpers |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 59748913 |
| octolytics-dimension-repository_network_root_nwo | PowerShellOrg/BuildHelpers |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width