jesseduffield / jesseduffield/lazygit

When rewording a merge commit with the editor, lazygit calls git incorrectly

Open
#2,058 16 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Describe the bug**
When rewording a merge commit using the editor, lazy git calls git with an incorrect set of arguments. This results in the operation failing.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a merge commit
2. Reword it with the editor
3. Observe failed editor launch

**Expected behavior**
The editor should open without issue, allowing a reword.

**Screenshots**
![image](https://user-images.githubusercontent.com/99221043/181305529-81332202-01fa-4d60-9862-2cf62eb77551.png)

**Desktop (please complete the following information):**
- OS: Arch
- Lazygit Version 0.35.367b0d33

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.