From 970e8578c5326ad236304ecbaba05920c80448bd Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 23 Oct 2018 12:34:16 -0400 Subject: License under the AGPL --- parse_fastimport.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'parse_fastimport.go') diff --git a/parse_fastimport.go b/parse_fastimport.go index 80488de..e1de0f9 100644 --- a/parse_fastimport.go +++ b/parse_fastimport.go @@ -1,3 +1,18 @@ +// Copyright (C) 2017 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 +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package libfastimport import ( -- cgit v1.2.3 From 07ee7b5f3c46c5db69ecb3fda71ab33a59f9a8dd Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 23 Oct 2018 12:35:41 -0400 Subject: Fix truncated comment --- parse_fastimport.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'parse_fastimport.go') diff --git a/parse_fastimport.go b/parse_fastimport.go index e1de0f9..11b27aa 100644 --- a/parse_fastimport.go +++ b/parse_fastimport.go @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Luke Shumaker +// Copyright (C) 2017-2018 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 @@ -41,7 +41,8 @@ var parser_comment func(line string) func(fiReader) (Cmd, error) func parser_compile(cmds map[string]Cmd) func(line string) func(fiReader) (Cmd, error) { // This assumes that 2 characters is enough to uniquely - // identify a command, and that "#" is the only one-chara + // identify a command, and that "#" is the only one-character + // command. ch2map := make(map[string]string, len(cmds)) for prefix := range cmds { var ch2 string -- cgit v1.2.3