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

Erik Helin ehelin at openjdk.java.net
Wed Jun 24 08:22:37 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

This pull request has now been integrated.

Changeset: 645a73cd
Author:    Erik Helin <ehelin at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/645a73cd
Stats:     5 lines in 1 file changed: 0 ins; 2 del; 3 mod

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

Reviewed-by: rwestberg

-------------

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


More information about the skara-dev mailing list