jesseduffield / jesseduffield/lazygit

Adding files changed to footer in Files section

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

Description

### Is your feature request related to a problem? Please describe.
I want to see at a glance the files that are changed when I look at the files tab. It gives me a quick gauge on assessing the blast radius of my changes

### Describe the solution you'd like
I want a specific file count as well

### Describe alternatives you've considered
I understand that the counter there helps to count the total files / directories, but they don't really fit my use case

### Additional context
The image shows the number of rows, even though the change file count is actually 1
Image

I have an example for what I want (I have already fixed this locally, but would like to open a PR to hopefully help out others who empathise with my use case) so do let me know if it's an issue anyone else faces and would like.

Image

Contributor guide

Open the contributing guide

Research direction

Start by locating the Files section and its footer in the repository, then trace how the current file or directory count is assembled. Update the footer so it also shows the number of changed files, and verify that the displayed count matches the change shown in the issue's example.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.