You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the 'url' property of 'repository' is a local file, Windows and Mac will behave differently. On windows, the "project" and "user" properties returned will be null, whereas on a Mac they will be populated. See this example: https://stackblitz.com/edit/node-kypon1?file=index.js
Though a local file is rarely used as a git origin, it is technically valid (see: "bare" repositories and useful for mocking git remotes for the purpose of integration testing. The inconsistency in behavior between Windows and Mac causes downstream issues in these types of tests.
The text was updated successfully, but these errors were encountered:
fahslaj
changed the title
Inconsistent behavior between Windows & Mac for "file:///" urls
Inconsistent behavior between Windows & Mac for bare git remotes (file urls)
Jul 12, 2022
fahslaj
changed the title
Inconsistent behavior between Windows & Mac for bare git remotes (file urls)
Inconsistent behavior between Windows & Mac for bare git remotes ("file:///" urls)
Jul 12, 2022
fahslaj
changed the title
Inconsistent behavior between Windows & Mac for bare git remotes ("file:///" urls)
Inconsistent behavior between Windows & Mac for "file:///" urls
Jul 12, 2022
When the 'url' property of 'repository' is a local file, Windows and Mac will behave differently. On windows, the "project" and "user" properties returned will be null, whereas on a Mac they will be populated. See this example: https://stackblitz.com/edit/node-kypon1?file=index.js
Though a local file is rarely used as a git origin, it is technically valid (see: "bare" repositories and useful for mocking git remotes for the purpose of integration testing. The inconsistency in behavior between Windows and Mac causes downstream issues in these types of tests.
The text was updated successfully, but these errors were encountered: