RFR: 428: git-jcheck does not work on repositories without default or maser branch

Robin Westberg rwestberg at openjdk.java.net
Wed Jun 24 08:17:38 UTC 2020

On Wed, 24 Jun 2020 07:49:34 GMT, Erik Helin <ehelin at openjdk.org> wrote:

> Hi all,
> please review this small patch that makes `JCheck` work on repositories _without_ a remotee `HEAD` ref being present
> (i.e. `refs/remotes/origin/HEAD`) and _without_ a `master` ref being present (i.e. `refs/heads/master`). In such a case
> `JCheck` will now fall back to configuration values for allowed tags and branches as specified in the configuration
> file at `HEAD` (`HEAD` is always present).  Testing:
> - [x] `make test` passes on Linux x64
> Thanks,
> Erik

Looks good, just a spelling error in the title :)


Marked as reviewed by rwestberg (Reviewer).

PR: https://git.openjdk.java.net/skara/pull/676

More information about the skara-dev mailing list