jesseduffield / jesseduffield/lazygit
Commits are ignored when authenticating with ssh-agent
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Describe the bug**
- When authenticating with ssh-agent for private Github repository, we can get git log in `Log` view, but on clicking the branch, the `Commit` view shows `No commits`.
- When authenticating with normal SSH keys, we can assume the `Commit` view contains correct logs.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to `Local Branches`
2. Enter to view `Commit` view
**Expected behavior**
Regardless of the authentication methods, we can fetch the correct `Commit`.
**Screenshots**
- With ssh user agent on ubuntu 16.04

- With SSH keys on mac `version=0.24.2`

**Desktop (please complete the following information):**
- Ubuntu 16.04
- The last commit id if you built project from sources (run : ```git-rev parse HEAD```)
```bash
$ git rev-parse HEAD
d7c9243880b973c137378569dec7d408b695f36f
```
Contributor guide
Assessment
This issue has not been assessed yet.