Skip to content

Allow setting Git diff operation timeout #6315

@unknwon

Description

@unknwon

Adds a new key under [git.timeout] section:

[git.timeout]

This value should be used with every call of gitutil.RepoDiff.

Originally requested in https://discuss.gogs.io/t/big-pull-requests-get-diff-execution-was-timed-out/3296

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions