summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-10-23 12:35:41 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-10-23 12:41:00 -0400
commit07ee7b5f3c46c5db69ecb3fda71ab33a59f9a8dd (patch)
tree18c0ceca3d49b8f50af28cba79d316a0fdb2977b
parent970e8578c5326ad236304ecbaba05920c80448bd (diff)
Fix truncated comment
-rw-r--r--parse_fastimport.go5
1 files changed, 3 insertions, 2 deletions
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 <lukeshu@lukeshu.com>
+// Copyright (C) 2017-2018 Luke Shumaker <lukeshu@lukeshu.com>
//
// 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