Hi,

Some months ago, I added an FFI call to libgit to get this
information. Here:
https://github.com/pharo-vcs/libgit2-pharo-bindings/pull/40
But after this PR is merged, Metacello should use it, and I didn't
research how to do it (I never contributed to this project yet...).
Maybe somebody can assess how to do it?

Regards,
Martín

On Mon, Jul 12, 2021 at 8:32 AM Sven Van Caekenberghe <[email protected]> wrote:
>
> Hi,
>
> For new GitHub projects the default branch is now main instead of master.
>
> There is however code in Metacello / Iceberg / ... that tries a number of 
> options if no branch is specified, but it is not yet aware of this change.
>
> Specifically:
>
> This does not work
>
> ./pharo reddit.image metacello install github://svenvc/Reddit BaselineOfReddit
>
> instead you have to say
>
> ./pharo reddit.image metacello install github://svenvc/Reddit:main/ 
> BaselineOfReddit
>
> It took me half an hour to figure this out ;-)
>
> Sven
>

Reply via email to