Skip to content

git name-rev --exclude is not available in git <2.13 - breaking commit history #11917

@Ulyev-ad

Description

@Ulyev-ad

I can't view the commit history, error.
image
Error:
image

In logs:
2020/06/16 23:49:56 ...uters/repo/commit.go:311:Diff() [E] commit.GetBranchName: exit status 129 - error: unknown option exclude'
usage: git name-rev [options] ...
or: git name-rev [options] --all
or: git name-rev [options] --stdin

    --name-only           print only names (no SHA-1)
    --tags                only use tags to name the commits
    --refs <pattern>      only use refs matching <pattern>

    --all                 list all commits reachable from all refs
    --stdin               read from stdin
    --undefined           allow to print `undefined` names
    --always              show abbreviated commit object as fallback

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions