mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-07 01:09:45 +02:00
allow getting the current item generically
This commit is contained in:
@ -28,3 +28,7 @@ func (c *Commit) NameWithSha() string {
|
||||
func (c *Commit) RefName() string {
|
||||
return c.Sha
|
||||
}
|
||||
|
||||
func (c *Commit) ID() string {
|
||||
return c.RefName()
|
||||
}
|
||||
|
Reference in New Issue
Block a user