jesseduffield / jesseduffield/lazygit

`e` in commits view should `git show`

Open
#3,902 7 comments 1 reaction 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.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

In the commits view, after you press enter on a commit, you can then press `e` to edit each individual file. \
Unfortunately, you go and edit the *actual* file, while it would be a lot more useful to edit the file *at that commit*. \

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

`git show hash:path` can be used for this! :)

The reasoning for the idea, is that you can already press `e` to edit files as they actually are, when in the status view; there doesn't seem to be a convenient way to open a file at some certain commit (you don't always want to checkout)

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

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.