gitui-org / gitui-org/gitui

Staging lines doesn’t stage

Open
#1,580 7 comments 1 reaction 0 assignees View on GitHub
bug question
Dominant language
Rust
Stars
22.5k
Forks
773
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Pressing `s` or any mapped key on `diff_stage_lines` doesn’t stage anything. However, it does unstage.

**To Reproduce**
Steps to reproduce the behavior:
1. Just try to stage some lines.

**Expected behavior**
It should stage.

**Screenshots**
N/A

**Context (please complete the following information):**

```
- OS/Distro + Version: Linux awake 6.1.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 14 Feb 2023 22:08:08 +0000 x86_64 GNU/Linux
- GitUI Version: `gitui 0.22.1`
- Rust version: `rustc 1.66.1 (90743e729 2023-01-10)`
```

**Additional context**
N/A

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.