Skip to content

"git diff" doesn't respect gitattributes file on a bare repo #33703

Open
@Shuenhoy

Description

@Shuenhoy

Description

At 1.22, this .gitattributes file can exclude files from diff.

**/3rd/** -diff linguist-vendored

However, it does not after 1.23.


Update: it's not related to Gitea's version, but bare repo or not.

Screenshots

1.22.6:

Image

1.23:

Image

How are you running Gitea?

https://gitea.com/Shuenhoy/demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/workaroundit is or has a workaroundtype/proposalThe new feature has not been accepted yet but needs to be discussed first.type/upstreamThis is an issue in one of Gitea's dependencies and should be reported there

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions