Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

black-desk/lazygit-bug-report-2025-04-29

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Lazygit Bug Reproduction

Issue Description

This repository is used to reproduce a bug in Lazygit related to the custom patch application feature.

Steps to Reproduce

  1. Clone this repository:

    git clone https://github.com/black-desk/lazygit-bug-report-2025-04-29
    cd lazygit-bug-report-2025-04-29
  2. Build a custom patch from changes to the test.md file in HEAD^.

  3. Move the patch to a new commit.

Expected Result: The patch should be applied successfully.

Actual Result: Git fails to apply the patch.

Issue Verification

Here's a simple example to verify the issue in another way:

# Create a patch with zero context lines
git format-patch HEAD^ -U0

# Try to apply the patch in reverse
git apply --reverse *.patch

This will clearly demonstrate the patch application failure.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published