From aad1bda6f382bd71e45bda2bdbe357080c7d7c8d Mon Sep 17 00:00:00 2001 From: oxalica Date: Tue, 7 Dec 2021 18:11:41 +0800 Subject: [PATCH] scripts/pluginupdate.py: use HEAD as default branch Thus we always use the default branch. No need to special handle of `master`, `main`, `trunk` and etc. --- maintainers/scripts/pluginupdate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintainers/scripts/pluginupdate.py b/maintainers/scripts/pluginupdate.py index 2c2cb3b6dd36..f19cd8638e28 100644 --- a/maintainers/scripts/pluginupdate.py +++ b/maintainers/scripts/pluginupdate.py @@ -385,7 +385,7 @@ def check_results( sys.exit(1) def parse_plugin_line(line: str) -> PluginDesc: - branch = "master" + branch = "HEAD" alias = None name, repo = line.split("/") if " as " in repo: