FFFF
Skip to content

Output of Git(Fs|Remote)Resolver.refs() is not cached #1083

Description

@ahutchings

The promise values for git ls-remote (in GitRemoteResolver.refs) and git show-ref (in GitFsResolver.refs) are not stored in the cache, resulting in duplicate command executions per resolution.

Reproducing:

  1. Clone https://github.com/ahutchings/bower-refs-cache-miss
  2. Run bower install

git ls-remote will be executed twice for the backbone repo.

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

    0