Skip to content

[Bug] Unable to open commit log panel for jj #260

Description

@pksunkara

Description

With prefered adapter set to jj in a colocated repo, open the commit log panel

Expected behavior

Show the commit log panel

Actual behavior

When hovering over a commit in file history panel after opening DiffviewFileHistory %, pressing L is giving me the following:

No log content available for these changes.

In fact, the same issue is happening when I press L on a file in file panel after doing DiffviewOpen.

Weird part is, in a git repo, pressing L on file in file panel after doing DiffviewOpen is giving the following error:

Changes not committed ...

I made sure to test this on files that already were part of several commits, so it's not a new file.

Steps to reproduce

  1. Clone https://github.com/jj-vcs/jj with jj
  2. Edit Cargo.toml
  3. Run nvim Cargo.toml
  4. Run :DiffvieFileHistory % in nvim
  5. Select a commit in file history panel and press L

Health check

Output of :checkhealth diffview
==============================================================================
diffview:                                                                 2 ⚠️

Checking plugin dependencies ~
- ✅ OK nvim-web-devicons installed.
- ✅ OK mini.icons installed.

Checking VCS tools ~
- The plugin requires at least one of the supported VCS tools to be valid.
- ✅ OK Jujutsu found.
- ✅ OK Jujutsu is up-to-date. (0.42.0)
- ✅ OK Git found.
- ✅ OK Git is up-to-date. (2.54.0)
- ⚠️ WARNING Configured `hg_cmd` is not executable: 'hg'
- ⚠️ WARNING Configured `p4_cmd` is not executable: 'p4'

Log info

Relevant info from :DiffviewLog
############################
### PUT LOG CONTENT HERE ###
############################

Neovim version

NVIM v0.12.2
Build type: RelWithDebInfo
LuaJIT 2.1.1780076327
Run "nvim -V1 -v" for more info

Operating system and version

Linux 7.0.10-arch1-1 x86_64 GNU/Linux

Minimal config

prefered adapter set to `jj`

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