Skip to content

Conversation

@Jogge
Copy link
Contributor

@Jogge Jogge commented May 31, 2024

I've been working on repositories where the default branch is develop, and there is no main or master branch. I noticed that the current implementation of Open-on-GitHub does not support this configuration.

I understand that libgit2sharp, which Open-on-GitHub uses, does not yet support extracting the default remote branch. There is an open PR for this feature here: libgit2/libgit2sharp#1969.

In the meantime, I propose adding develop as the last possible default branch when neither main nor master has been matched.

@neuecc
Copy link
Owner

neuecc commented Jun 17, 2024

ok and thanks!

@neuecc neuecc merged commit a6f3c05 into neuecc:master Jun 17, 2024
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.

2 participants