jesseduffield / jesseduffield/lazygit

Show more information on the Patch tab?

Open
#1,663 1 comment 2 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.**
When we are on the "commit" panel, we can see the Patch tab, showing the commit id, author, email, date, etc.
Suppose the commit id is `127b2be4`, we can use
```
git show --pretty=fuller 127b2be4
```
to obtain more detailed information about this commit.

I know we can custom the git log command through
```yaml
git:
branchLogCmd: "git log --graph --color=always --pretty=medium --oneline {{branchName}} --"
```
Can we show more information on the patch tab in a similar way?

**Describe the solution you'd like**
Provide a options like:
```yaml
git:
showCmd: "git show --pretty=fuller {{ .SelectedLocalCommit.Sha }}"
```

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.