scanPgpCont accumulates continuation lines for a signature header. Continuations strip exactly one leading space, mirroring upstream's `line + 1` (commit.c:1509). The first non-continuation line is pushed back so scanHeaders can dispatch it. Repeat occurrences of the same signature header land back
(s *commitScanner)
| 264 | // header land back here and concatenate, matching upstream's |
| 265 | // parse_buffer_signed_by_header (commit.c:1186). |
| 266 | func scanPgpCont(s *commitScanner) (commitState, error) { |
| 267 | return continuationCont(s, &s.c.PGPSignature, scanPgpCont) |
| 268 | } |
| 269 | |
| 270 | func continuationCont(s *commitScanner, dst *string, self commitState) (commitState, error) { |
| 271 | line, err := s.readLine() |
nothing calls this directly
no test coverage detected
searching dependent graphs…