New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short hash length doesn't match git's default length #496

Closed
ducalex opened this Issue Sep 6, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@ducalex

ducalex commented Sep 6, 2018

  • GitLens Version: 8.5.6
  • VSCode Version: 1.26.1

The short hash provided by gitlens doesn't match the one displayed by git (and other tools), is it internally forced to be 8 chars instead of using git's own short hash?

See the attached screenshot for an example:
Example

@ducalex ducalex changed the title from Short hash doesn't match git to Short hash doesn't match git's Sep 6, 2018

@eamodio eamodio self-assigned this Sep 19, 2018

@eamodio eamodio added the bug label Sep 19, 2018

@eamodio eamodio added this to the Soonish™ milestone Sep 19, 2018

@eamodio

This comment has been minimized.

Owner

eamodio commented Sep 19, 2018

Yeah, it probably makes sense to align with the default abbrev hash length

@eamodio eamodio changed the title from Short hash doesn't match git's to Short hash length doesn't match git's default length Sep 21, 2018

@eamodio eamodio modified the milestones: Soonish™, Soon™ Sep 30, 2018

@eamodio eamodio closed this in 9ae4877 Dec 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment