-
Notifications
You must be signed in to change notification settings - Fork 48
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
multiple, different, remotes can break detection #62
Comments
Can we use ConfigParser? https://docs.python.org/2/library/configparser.html |
Fryguy
added a commit
to Fryguy/GitHubinator
that referenced
this issue
Mar 27, 2018
This allows for a more accurate parsing of the file since we known the sections and values within those sections. Fixes ehamiter#62
Fryguy
added a commit
to Fryguy/GitHubinator
that referenced
this issue
Mar 27, 2018
This allows for a more accurate parsing of the file since we known the sections and values within those sections. Fixes ehamiter#62
Fryguy
added a commit
to Fryguy/GitHubinator
that referenced
this issue
Mar 27, 2018
This allows for a more accurate parsing of the file since we know the sections, and values within those sections. Fixes ehamiter#62
Fryguy
added a commit
to Fryguy/GitHubinator
that referenced
this issue
Mar 27, 2018
This allows for a more accurate parsing of the file since we know the sections, and values within those sections. Fixes ehamiter#62
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my .git/config, I have remotes that point to both github as well as a private gitlab instance. I've found that depending on the order of the remotes in the .git/config file, the first one listed is the one chosen, and it's possible that won't match the current branch's remote.
For example, if my current branch's remote is origin, but I have in my config:
then, what happens is that this code detects the default_host as the gitlab one, but this code will never detect the remote origin + regex + gitlab host because that combination doesn't exist.
I'm not sure how to fix this, as there are multiple paths, and I'm not a python dev, so I'm having trouble contributing. Some choices can be
The text was updated successfully, but these errors were encountered: