From 9fc76496967cb49b2c33c14b8f824db7f0082489 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Wed, 8 Oct 2025 20:29:43 -0700 Subject: [PATCH] feat: remove more locks --- joint_teapot/workers/git.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/joint_teapot/workers/git.py b/joint_teapot/workers/git.py index 0aea7c4..dc61292 100644 --- a/joint_teapot/workers/git.py +++ b/joint_teapot/workers/git.py @@ -100,13 +100,17 @@ class Git: "index.lock", "HEAD.lock", "fetch-pack.lock", - "logs/HEAD.lock", "packed-refs.lock", "config.lock", f"refs/heads/{current_branch}.lock", f"refs/remotes/origin/{current_branch}.lock", f"refs/heads/{checkout_dest}.lock", f"refs/remotes/origin/{checkout_dest}.lock", + "logs/HEAD.lock", + f"logs/refs/heads/{current_branch}.lock", + f"logs/refs/remotes/origin/{current_branch}.lock", + f"logs/refs/heads/{checkout_dest}.lock", + f"logs/refs/remotes/origin/{checkout_dest}.lock", ] for lock_file in lock_files: lock_path = os.path.join(repo_dir, ".git", lock_file)