[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gitsub.sh hardcodes origin/master
From: |
Collin Funk |
Subject: |
Re: gitsub.sh hardcodes origin/master |
Date: |
Fri, 16 Aug 2024 11:50:58 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Marc,
Marc Nieper-Wißkirchen <marc.nieper+gnu@gmail.com> writes:
> ./gitsub.sh upgrade
>
> fails when submodules are present where the master branch is not called
> "master" but something else, e.g. "main", which becomes increasingly common.
>
> The branch name "origin/master" is currently hardcoded in gitsub.sh.
It would be nice to cover both "master" and "main". I think that would
cover 99% percent of cases.
Collin