Skip to content

Pattern changes don't trigger re-extraction of files #21

@jdc-pub

Description

@jdc-pub

When an existing vendor has already been fetched at a commit, adding new patterns via git vendor track or editing .gitvendors doesn't re-extract files matching the new patterns from that already-fetched commit.

To work around this, users must remove the vendor and re-add it with all desired patterns.

Steps to reproduce:

  1. Add a vendor with one pattern: git vendor add <url> -p 'file1:.path/'
  2. Try to add another pattern: git vendor track <name> 'file2:.path/'
  3. Run git vendor pull <name>
  4. file2 is not extracted (even though file2 exists in the upstream commit)

Expected: New patterns should be applied to already-fetched commits, extracting matching files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions