Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Unique abbreviated Commit IDs #238

Description

@ajoberstar

A unique abbreviated commit ID can be retrieved with ObjectReader. That should be the default if no arguments are provided:

getAbbreviatedId() should return a 7 character or longer (as needed to be unique)
getAbbreviatedId(int) should retain the current behavior of just giving you the exact length you asked for

However, it may make sense to deprecate the int variant.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions