Skip to content

[Feature Request] Using git library to extract git related information #9088

@filzrev

Description

@filzrev

Is your feature request related to a problem? Please describe.
Current docfx v2 extracts git related information by invoking git command using CommandUtility.cs.
It takes about 30-60 milliseconds every calls to get file information.
and when it need to get additional information (like committer-date) it require extra command invoke costs.

Describe the solution you'd like
It seems docfx v3 using LibGit2 to get git information.
I hope these features can backport to v2. If it run faster than current implementation.

Describe alternatives you've considered

Metadata

Metadata

Assignees

No one assigned

    Labels

    static-siteProduce static HTML output ready for publishing to hosts like GitHub pages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions