You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
JGit provides a method that ensures uniqueness. This is safer than the
old approach that just substringed. That option is still around, but
deprecated.
This fixes#238.
JGit provides a method that ensures uniqueness. This is safer than the
old approach that just substringed. That option is still around, but
deprecated.
This fixes#238.
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 forHowever, it may make sense to deprecate the
int
variant.The text was updated successfully, but these errors were encountered: