Change summary
ui/pages/repo/log.go | 2 +-
ui/pages/repo/logitem.go | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Detailed changes
@@ -362,7 +362,7 @@ func (l *Log) StatusBarValue() string {
if email := c.Author.Email; email != "" {
who += " <" + email + ">"
}
- value := c.ID.String()
+ value := c.ID.String()[:7]
if who != "" {
value += " by " + who
}
@@ -64,7 +64,7 @@ func (d LogItemDelegate) Update(msg tea.Msg, m *list.Model) tea.Cmd {
case tea.KeyMsg:
switch {
case key.Matches(msg, d.common.KeyMap.Copy):
- return copyCmd(item.Hash(), fmt.Sprintf("Commit hash %q copied to clipboard", item.Hash()))
+ return copyCmd(item.Hash(), "Commit hash copied to clipboard")
}
}
return nil