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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user