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

Pushing ignores remote.<name>.pushurl #83

Closed
bmjames opened this issue Jun 21, 2011 · 2 comments
Closed

Pushing ignores remote.<name>.pushurl #83

bmjames opened this issue Jun 21, 2011 · 2 comments
Assignees

Comments

@bmjames
Copy link

bmjames commented Jun 21, 2011

When pushing with git-cola, the URL pushed to is always the URL in remote.<name>.url, even if remote.<name>.pushurl has been set in the repo's config.

If pushurl has been configured for the remote, that should be used instead of url.

@bmjames bmjames closed this as completed Jun 21, 2011
@davvid
Copy link
Member

davvid commented Jun 30, 2011

Thanks bmjames. This is still a bug, I think. Well, cola should be pushing to the right location but the GUI will mislead you by not honoring pushurl when displaying the URLs.

cola does "git push origin master" under the hood so it's really "push" that honors pushurl.
cola should check that config when figuring out the URL so that the dialog shows the real push URL.

@davvid davvid reopened this Jun 30, 2011
@ghost ghost assigned davvid Jun 30, 2011
@davvid davvid closed this as completed in 3f136a4 Jul 1, 2011
@bmjames
Copy link
Author

bmjames commented Jul 1, 2011

Thanks @davvid, I closed the issue as soon as I found that git was doing the correct thing when pushing. But it is nice to see the correct URL displayed, too.

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

No branches or pull requests

2 participants