Skip to content

bob does not show "used" when using a commit SHA #309

@antoineeestevaaan

Description

@antoineeestevaaan

👋

i'm using Bob version 4.1.2, installed with cargo install --git https://github.com/MordechaiHadad/bob.git on 2025-08-05 at 12:50:59.

commands

bob use a9a4c271b13fffba2a21567c86b0f40ae4c180a1
bob list  # assuming `nightly` is also installed
┌───────────┬─────────────┐
│  Version  │  Status     │
├───────────┼─────────────┤
│  a9a4c27  │  Installed  │
│  nightly  │  Installed  │
└───────────┴─────────────┘

expected behaviour

because running nvim --version shows NVIM v0.12.0-dev-a9a4c27 and the content of ~/.local/share/bob/used is also a9a4c271b13fffba2a21567c86b0f40ae4c180a1, i expected bob list to show the following

┌───────────┬─────────────┐
│  Version  │  Status     │
├───────────┼─────────────┤
│  a9a4c27  │  Used       │
│  nightly  │  Installed  │
└───────────┴─────────────┘

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