Skip to content

unexpected error - b'worktreeConfig' #10395

@ereli-sevenai

Description

@ereli-sevenai

Bug Report

Issue name

pull: unexpected error - b'worktreeConfig'

Description

When attempting to use the dvc pull command in a repository with the worktreeConfig extension enabled in Git, DVC throws an unexpected error. The error message received is "ERROR: unexpected error - b'worktreeConfig'". This issue persists even after attempting to set worktreeConfig to false via the Git config.

Reproduce

  1. Initialize a Git repository with git init.
  2. Enable worktreeConfig in the Git configuration with git config extensions.worktreeConfig false.
  3. Initialize DVC within the repository with dvc init.
  4. Add a dataset or file to manage with DVC using dvc add file.
  5. Try to pull data or synchronize with a remote storage using dvc pull.

Expected

The dvc pull command should execute without any errors, syncing the DVC-tracked files from the remote storage. The presence of the worktreeConfig setting in Git should not impact DVC operations.

Metadata

Metadata

Labels

bugDid we break something?p1-importantImportant, aka current backlog of things to do

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions