mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Store full ref in Name field of update-ref commits
Strip the prefix at presentation time instead. This makes it easier to find update-ref todos in order to move them up/down, or delete them.
This commit is contained in:
@ -342,6 +342,9 @@ func displayCommit(
|
||||
}
|
||||
|
||||
name := commit.Name
|
||||
if commit.Action == todo.UpdateRef {
|
||||
name = strings.TrimPrefix(name, "refs/heads/")
|
||||
}
|
||||
if parseEmoji {
|
||||
name = emoji.Sprint(name)
|
||||
}
|
||||
|
Reference in New Issue
Block a user