From f547a14704d3b25b8e0e015cbcbdd1de5ba953c7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 1 Feb 2021 17:28:51 -0700 Subject: Bring up to git.git commit 62edbec7dee0bc9788d60823ca074d7dfbb5a486 --- frontend.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend.go b/frontend.go index c069ddf..f449179 100644 --- a/frontend.go +++ b/frontend.go @@ -1,4 +1,4 @@ -// Copyright (C) 2017-2018 Luke Shumaker +// Copyright (C) 2017-2018, 2021 Luke Shumaker // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -37,6 +37,10 @@ func (e UnsupportedCommand) Error() string { // it was not given that name because the RespondGetMark, // 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. type Frontend struct { fastImport *parser catBlobWrite *textproto.CatBlobWriter -- cgit v1.2.3-2-g168b