From ad516b1f2ccf43fe257bf30cd2ec2fbc3b1c8388 Mon Sep 17 00:00:00 2001 From: alichinese Date: Tue, 11 Jun 2024 17:09:04 +0800 Subject: [PATCH] ogit: fix the git checkout bug * fix the method repo commit can not checkout code bug Signed-off-by: alichinese --- src/oebuild/ogit.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/oebuild/ogit.py b/src/oebuild/ogit.py index 541ebde..b67447e 100644 --- a/src/oebuild/ogit.py +++ b/src/oebuild/ogit.py @@ -83,7 +83,6 @@ class OGit: remote.fetch(self._branch, progress=CustomRemote(), depth=1) else: repo.commit(version) - return True except ValueError: try: remote.fetch(version, progress=CustomRemote(), depth=1) -- Gitee