jesseduffield / lazygit

simple terminal UI for git commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enter Commit's Files of Repo First Commit will Popup Error Dialog

azzgo opened this issue · comments

Describe the bug
A Error of Git command output tips "unknown revision or path not in the working tree".

To Reproduce
Steps to reproduce the behavior:

  1. Go to '4 Commits - Reflogs Section '
  2. Scroll down to 'first commit of the git commits'
  3. Click on '' to Commits files section
  4. See error window

the dialog Info

fatal: ambiguous argument 'xxxxx^': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Expected behavior
The Repo First commit files list and related added lines highlight in Patch Section

Screenshots

image

image

Desktop (please complete the following information):

  • OS: [e.g. MacOS 12.4]
  • Lazygit Version [e.g. v0.34]

Additional context
I also trigger in other git repo, and my arch linux mathine.

This was fixed in #1944 but that was after the last release, could you give the current master a spin and see if that helps?

Oh, cool, it works.

Because I searched, not found similar issue.😂

Thank you for reply.

ezoic increase your site revenue