1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-17 00:18:05 +02:00

Bump git-todo-parser

This commit is contained in:
Stefan Haller
2025-04-29 14:55:10 +02:00
parent d87bdaf94d
commit 14eb4c29ca
5 changed files with 5 additions and 8 deletions

View File

@ -150,9 +150,6 @@ func parseLine(line string, commentChar byte) (Todo, error) {
}
func isCommand(i TodoCommand, s string) bool {
if i < 0 || i > Comment {
return false
}
return len(s) > 0 &&
(todoCommandInfo[i].cmd == s || todoCommandInfo[i].nickname == s)
}

View File

@ -1,6 +1,6 @@
package todo
type TodoCommand int
type TodoCommand uint8
const (
Pick TodoCommand = iota + 1