summaryrefslogtreecommitdiff
path: root/frontend.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2021-02-01 17:37:34 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2021-02-01 18:16:11 -0700
commitb7bd3adf84ed5f5c18b659973a0539d611a61230 (patch)
tree2fdf0bbf0dd52b5d39fc466bcf4daac80c94ada6 /frontend.go
parentc3c1e51d8a2577a5f008dd7240ea6c509af2cd98 (diff)
Bring up to git.git commit 7ffde293f2e7f0ae455800b138416da601254436
Diffstat (limited to 'frontend.go')
-rw-r--r--frontend.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/frontend.go b/frontend.go
index f449179..5ae6bd9 100644
--- a/frontend.go
+++ b/frontend.go
@@ -38,9 +38,11 @@ func (e UnsupportedCommand) Error() string {
// RespondCatBlob, and RespondLs methods actually write information;
// it isn't a read-only object.
//
-// The parser is a bit more forgiving than git's own parser; it allows
-// extra newlines anywhere it allows comments, whereas git's own
-// parser is quite strict about newlines.
+// The parser is a bit more forgiving than git's own parser. It
+// allows extra newlines anywhere it allows comments, whereas git's
+// own parser is quite strict about newlines. It allows 'cat-blob'
+// commands anywhere it allows comments, which git used to allow, but
+// was made stricter in git v2.22.0.
type Frontend struct {
fastImport *parser
catBlobWrite *textproto.CatBlobWriter