jesseduffield / jesseduffield/lazygit

Show more information on the Patch tab?

Aperta
#1,663 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Go
Stelle
82.4k
Fork
3k
Merge medio
2g 18h
PR unite (30g)
19

Descrizione

**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 }}"
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.