Skip to content

Can't use git-info after 'git gc' #31

@eranchetz

Description

@eranchetz
Cannot read the commit SHA of the current HEAD from the /home/ubuntu/gitrepo/.git/refs/heads/master.

Seems like git gc is emptying the refs/heads dir and gitinfo fails to get the commit sha

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