Skip to content

Error on partial clone when filtering tree:0 #1706

@aarondill

Description

@aarondill

Duplicates

  • I have searched the existing issues

Current behavior 😯

Error: Failed to traverse Git commit history

Caused by:
    sending on a closed channel

Expected behavior 🤔

It should work correctly.

Steps to reproduce 🕹

  1. git clone --filter=tree:0 https://github.com/sharkdp/fd
  2. onefetch fd

Additional context/Screenshots 🔦

This is very similar to #1092, where --filter=blob:0 was fixed.

Possible Solution 💡

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions