mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-03-19 21:28:28 +02:00
Reflog: Use 20 sha digits instead of 7
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
This commit is contained in:
parent
66e6369c28
commit
6fc3290a05
@ -1105,7 +1105,7 @@ func (c *GitCommand) FetchRemote(remoteName string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *GitCommand) GetReflogCommits() ([]*Commit, error) {
|
func (c *GitCommand) GetReflogCommits() ([]*Commit, error) {
|
||||||
output, err := c.OSCommand.RunCommandWithOutput("git reflog")
|
output, err := c.OSCommand.RunCommandWithOutput("git reflog --abbrev=20")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user