1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Switch git-todo-parser from fsmiamoto original repo to stefanhaller's fork

Sometimes it takes a while to get PRs accepted upstream, and this blocks our
progress. Since I'm pretty much the only one making changes there anyway, it
makes sense to point to my fork directly.
This commit is contained in:
Stefan Haller
2024-04-06 14:45:49 +02:00
parent 69153acfdb
commit 7270dea48d
20 changed files with 20 additions and 21 deletions

View File

@ -71,7 +71,7 @@ func parseLine(line string, commentChar byte) (Todo, error) {
return todo, ErrUnexpectedCommand
}
if todo.Command == Break {
if todo.Command == Break || todo.Command == NoOp {
return todo, nil
}

View File

@ -23,7 +23,6 @@ func writeTodo(f io.Writer, todo Todo, commentChar byte) error {
switch todo.Command {
case NoOp:
return nil
case Comment:
sb.WriteByte(commentChar)