Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

"unexpected error while defensively cleaning up" #2164

@cflewis

Description

@cflewis

Trying to import github.com/nightlyone/lockfile, which is an indirect dependency I have.

What version of dep are you using (dep version)?

v0.5.3

Also git version = git version 2.21.0.

What dep command did you run?

dep ensure -v

What did you expect to see?

Solved output.

What did you see instead?

Solving failure: No versions of github.com/nightlyone/lockfile met constraints:
	6a197d5ea61168f2ac821de2b7f011b250904900: unexpected error while defensively cleaning up after possible derelict nested submodule directories: Entering 'git-hooks'
error: unknown switch `x'
usage: git submodule--helper foreach [--quiet] [--recursive] [--] <command>

    -q, --quiet           Suppress output of entering each submodule command
    --recursive           Recurse into nested submodules

fatal: run_command returned non-zero status while recursing in the nested submodules of git-hooks
.
: command failed: [git submodule foreach --recursive git clean -x -d -f -f]: exit status 128

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions