jesseduffield / jesseduffield/lazygit

Show more information on the Patch tab?

Đang mở
#1,663 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Go
Star
82.4k
Fork
3k
Merge trung bình
2 ngày 18 giờ
Pull request đã merge (30 ngày)
19

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.