Skip to content

[Feature Request] Is it possible to transform the QuerySingleCommit class into QueryMultipleCommits #1443

Open
@WHYBBE

Description

@WHYBBE

Is it possible to transform the QuerySingleCommit class into QueryMultipleCommits to support searches with non - unique prefixes?

Image

I looked at the code implementation and found that git show -s {SHA} needs to meet the requirement of "only need to input a unique prefix that is sufficient to distinguish the commit".

Is it possible to use other methods or directly search in memory through code to achieve querying multiple results starting with a non - unique prefix?

I know this might be a very unique and niche requirement, but I still want to discuss the feasibility of this feature with everyone here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions