Skip to content

Diff view hunk heder and the context line is one the same line #4300

Open
@UnEmotioneD

Description

@UnEmotioneD

Describe the bug
When viewing diff the hunk header and the diff context are at the same line

To Reproduce
Not so sure but the issuse is not on the vscode lazygit

Expected behavior
I want the diff context and the hunk header to be at the separate lines

Screenshots
Image
Image

Version info:
lazygit : commit=, build date=, build source=homebrew, version=0.46.0, os=darwin, arch=arm64, git version=2.39.5 (Apple Git-154)

git : git version 2.39.5 (Apple Git-154)

Additional context
context and header is at the separate line on when the context line shows the top of file

** lazygit -l **

following is the log when I do increase or decrease the context line size

Feb 21 13:02:02 |DEBU| RunCommand command="git -C /Users/unemotioned/.dotfiles diff --no-ext-diff --submodule --unified=5 --color=never --find-renames=50% --cached -- nvim/.config/nvim/lua/josean/core/keymaps.lua"
Feb 21 13:02:02 |INFO| git -C /Users/unemotioned/.dotfiles diff --no-ext-diff --submodule --unified=5 --color=never --find-renames=50% --cached -- nvim/.config/nvim/lua/josean/core/keymaps.lua (15.66425ms)

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