jesseduffield / jesseduffield/lazygit

Show more information on the Patch tab?

Offen
#1,663 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Go
Sterne
82.4k
Forks
3k
Ø Merge
2 T. 18 Std.
Gemergte PRs (30 T.)
19

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.