diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2024-04-06 14:45:49 +0200 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-04-22 20:59:15 +0200 |
commit | 7270dea48d5325089561ee6e6b6ba15ac1c6fa68 (patch) | |
tree | 690ce97839f80b6311a744e653ce0831605f3f14 /vendor/github.com | |
parent | 69153acfdb6539b515bcb13a262bd38b12f27e9f (diff) |
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.
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/stefanhaller/git-todo-parser/LICENSE (renamed from vendor/github.com/fsmiamoto/git-todo-parser/LICENSE) | 0 | ||||
-rw-r--r-- | vendor/github.com/stefanhaller/git-todo-parser/todo/parse.go (renamed from vendor/github.com/fsmiamoto/git-todo-parser/todo/parse.go) | 2 | ||||
-rw-r--r-- | vendor/github.com/stefanhaller/git-todo-parser/todo/todo.go (renamed from vendor/github.com/fsmiamoto/git-todo-parser/todo/todo.go) | 0 | ||||
-rw-r--r-- | vendor/github.com/stefanhaller/git-todo-parser/todo/write.go (renamed from vendor/github.com/fsmiamoto/git-todo-parser/todo/write.go) | 1 |
4 files changed, 1 insertions, 2 deletions
diff --git a/vendor/github.com/fsmiamoto/git-todo-parser/LICENSE b/vendor/github.com/stefanhaller/git-todo-parser/LICENSE index 56bc157ae..56bc157ae 100644 --- a/vendor/github.com/fsmiamoto/git-todo-parser/LICENSE +++ b/vendor/github.com/stefanhaller/git-todo-parser/LICENSE diff --git a/vendor/github.com/fsmiamoto/git-todo-parser/todo/parse.go b/vendor/github.com/stefanhaller/git-todo-parser/todo/parse.go index 51efd305d..12bec439b 100644 --- a/vendor/github.com/fsmiamoto/git-todo-parser/todo/parse.go +++ b/vendor/github.com/stefanhaller/git-todo-parser/todo/parse.go @@ -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 } diff --git a/vendor/github.com/fsmiamoto/git-todo-parser/todo/todo.go b/vendor/github.com/stefanhaller/git-todo-parser/todo/todo.go index 3b2c45290..3b2c45290 100644 --- a/vendor/github.com/fsmiamoto/git-todo-parser/todo/todo.go +++ b/vendor/github.com/stefanhaller/git-todo-parser/todo/todo.go diff --git a/vendor/github.com/fsmiamoto/git-todo-parser/todo/write.go b/vendor/github.com/stefanhaller/git-todo-parser/todo/write.go index 949db420a..279de48a0 100644 --- a/vendor/github.com/fsmiamoto/git-todo-parser/todo/write.go +++ b/vendor/github.com/stefanhaller/git-todo-parser/todo/write.go @@ -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) |