1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-11-28 15:29:52 +01:00

Fix git store to check if all the required fields are present

This commit is contained in:
2025-09-18 11:33:48 +02:00
parent fd7f92d411
commit 3792b55c53
3 changed files with 73 additions and 20 deletions

View File

@@ -30,7 +30,7 @@ class MetaSetCommand(osc.commandline_git.GitObsCommand):
def run(self, args):
from osc.git_scm import LocalGitStore
store = LocalGitStore(".")
store = LocalGitStore(".", check=False)
branch = args.branch or store._git.current_branch
# just retrieve keys from an authoritative source