1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

fix: fix ambiguous refname

This commit is contained in:
Ryooooooga
2022-05-12 19:16:58 +09:00
parent 5529088e43
commit 61970a4439
10 changed files with 25 additions and 4 deletions

View File

@ -8,6 +8,10 @@ type StashEntry struct {
Name string
}
func (s *StashEntry) FullRefName() string {
return s.RefName()
}
func (s *StashEntry) RefName() string {
return fmt.Sprintf("stash@{%d}", s.Index)
}