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
We should respect core.abbrev when abbreviating git SHAs and keep defaulting to 7 chars if it isn't defined. This would improve support for non-small projects.
Theoretically, all we have to do is read the related git config and use it inside shortenHash().
Note, we should also respect special non-numeric values where core.abbrev can
be legally set to "auto" or "no", where "auto" gets an appropriate
length based on a loose count of objects in the current repo, and
"no" which doesn't abbreviate the SHA1 at all.
The text was updated successfully, but these errors were encountered:
We should respect
core.abbrev
when abbreviating git SHAs and keep defaulting to 7 chars if it isn't defined. This would improve support for non-small projects.Theoretically, all we have to do is read the related git config and use it inside shortenHash().
Note, we should also respect special non-numeric values where core.abbrev can
be legally set to "auto" or "no", where "auto" gets an appropriate
length based on a loose count of objects in the current repo, and
"no" which doesn't abbreviate the SHA1 at all.
The text was updated successfully, but these errors were encountered: