Skip to content

Install of v1.8.3+ breaks when git version is < 2.31.0 #876

Open
@mwilsoncoding

Description

🔧 Summary

Today, when installing 1.8.3 or 1.8.4 on a fresh build of a linux container (elixir:1.14.2 in my case <- debian base), I could not boot into my environment due to the following error:
image

This issue seems to be related.

This other issue also seems related.

After testing, I discovered this is only broken as of v1.8.3

Lefthook version

1.8.3 and 1.8.4

Steps to reproduce

Boot into any devcontainer configured to pull latest lefthook and try to lefthook install

Expected results

Install completes successfully.

Actual results

Error creating directory that already exists.

Possible Solution

I'll have to dig a bit deeper before I have relevant feedback, but answers may lie in this PR that closed the related first issue mentioned above.

For the time being, I'm pinning my lefthook usage at 1.8.2 until this is resolved.

Logs / Screenshots

image

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions