Skip to content

partial clone not working with filter #20400

Closed
@delanym

Description

@delanym

Description

Partial clone is not working:

/tmp/test $ git clone --filter=tree:0 [email protected]:olblak/updatecli-mirror.git tree                                                                                                                                                          18:17:34
Cloning into 'tree'...
warning: filtering not recognized by server, ignoring
remote: Enumerating objects: 7613, done.
remote: Counting objects: 100% (7613/7613), done.
remote: Compressing objects: 100% (2995/2995), done.
remote: Total 7613 (delta 4479), reused 7410 (delta 4356), pack-reused 0
Receiving objects: 100% (7613/7613), 2.11 MiB | 138.00 KiB/s, done.
Resolving deltas: 100% (4479/4479), done.
/tmp/test $ git --version                                                                                                                                                                                                                    22s 18:18:17
git version 2.37.1
/tmp/test $   

Gitea Version

1.17.0+rc1-13-g35fd55c7d built with GNU Make 4.3, go1.18.3 : bindata, timetzdata, sqlite, sqlite_unlock_notify

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

2.36.1, Wire Protocol Version 2 Enabled

Operating System

Ubuntu Linux

How are you running Gitea?

Docker-compose

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions