Skip to content

git lock issue #5

@tfriedel

Description

@tfriedel

I recently started to see this issue, for example when I instruct claude to add files to git. This is with Claude Code 2.0.25

● Bash(sleep 1 && git add config/tmuxai/config.yaml)                                                                                                                                                                                                                                
⎿  Error: fatal: Unable to create '/home/thomas/.dotfiles/.git/index.lock': File exists.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
Another git process seems to be running in this repository, e.g.                                                                                                                                                                                                                  
an editor opened by 'git commit'. Please make sure all processes                                                                                                                                                                                                                  
are terminated then try again. If it still fails, a git process                                                                                                                                                                                                                   
may have crashed in this repository earlier:                                                                                                                                                                                                                                      
remove the file manually to continue.   

If I disable pyccsl I don't have this problem.

See also this issue:
Haleclipse/CCometixLine#46

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions