Skip to content

--object-format=sha256 support #1475

@cblp

Description

@cblp

When I git init --object-format=sha256 I receive

Traceback (most recent call last):
  ...
  File "/usr/local/lib/python3.9/site-packages/git/repo/fun.py", line 163, in name_to_object
    raise BadName(name)
gitdb.exc.BadName: Ref 'HEAD' did not resolve to an object

because the hash size is longer

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