Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include owner in local path when cloning a repository #572

Merged
merged 1 commit into from
Aug 20, 2021
Merged

include owner in local path when cloning a repository #572

merged 1 commit into from
Aug 20, 2021

Conversation

bala
Copy link

@bala bala commented Jul 30, 2021

Closes
github/desktop #[5449]
shiftkey/desktop #[570]

Description

parsed.owner adds the repo owner to the path - helps while cloning 2 repos with same name but from different owners ( Primarily while Forking)

Screenshots

Before:
Before
After:
After

Release notes

Notes:

@shiftkey shiftkey changed the title include owner in local path when cloning a repository #5449 include owner in local path when cloning a repository Aug 20, 2021
Copy link
Owner

@shiftkey shiftkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I closed out the original issue because I didn't have bandwidth to see what supporting this looks like, so I'm grateful you took the time. And I'll also mention that I may need to drop this later if we get pushback or if the upstream project wishes for us to not change this behaviour (e.g. if they see support issues on this).

But otherwise, this change feels simple enough, so I'm going to merge this in so it's available in our next release. Thanks for taking the time to contribute @bala!

@Raymo111
Copy link

I recommend we revert this change. This introduces the #585 bug, and also many users like me don't want the username as part of the path. Can we at least get an option to choose?

@jesobreira
Copy link

I agree with @Raymo111 this change should be reverted at least until issue #585 is fixed, as this is causing a weird and always unwanted behavior...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants