jesseduffield / jesseduffield/lazygit

Show more information on the Patch tab?

Ouverte
#1,663 1 commentaire 2 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Go
Étoiles
82.4k
Forks
3k
Merge moyen
2 j 18 h
PR mergées (30 j)
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 }}"
```

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.