caarlos0 / fork-cleaner

Quickly clean up unused forks on your github account.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Repository comparison fail when default branches have no common ancestor

Jackenmen opened this issue · comments

I get this error for one of the forks I have:

Error gathering the repository list: failed to compare repository with upstream: jack1142/compose: GET https://api.github.com/repos/docker/compose/compare/v2...jack1142:master: 404 No common ancestor between v2 and jack1142:master. [].

It appears that this fork has been created when a different branch was the default branch and the branch that is now the default branch is completely new (created without a base, e.g. with --orphan).

same problem here

happy to review a pr for this

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.