Skip to content

Copying commit hash produces a shortened string #5330

Description

@researcher2312

Describe the bug

Copying the commit hash via keyboard shortcut c-o gives only a shortened version (439feb661f8d), and not the full commit hash. Copying the hash with y and selecting commit hash gives the correct hash (439feb661f8dca3b9418612c5993c40275ac3d43).

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Commits tab'
  2. Press c-o
  3. Paste to a notepad
  4. Go to the same commit
  5. Press y, select Commit hash
  6. Paste to the notepad
  7. Compare the differences

Expected behavior

Both Commit hashes should be the same

Version info:

commit=, build date=, build source=Homebrew, version=0.59.0, os=linux, arch=amd64, git version=2.51.0

Terminal info:

ghostty 1.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions