From c3c1e51d8a2577a5f008dd7240ea6c509af2cd98 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 1 Feb 2021 17:30:52 -0700 Subject: Bring up to git.git commit a63c54a019138c7aaa4624f48284722664428b15 --- cmd_comment.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd_comment.go b/cmd_comment.go index 2124c8e..a6d8c9e 100644 --- a/cmd_comment.go +++ b/cmd_comment.go @@ -110,8 +110,10 @@ type CmdLs struct { } func (c CmdLs) fiCmdClass() cmdClass { - // As of git v2.21, the docs say this is cmdClassComment, but - // the actual code disagrees. + // Prior to git v2.22.0 the docs said 'ls' was allowed + // anywhere a comment was allowed, but that was never really + // true, and in v2.22.0 the docs were updated to match the + // code. if c.DataRef == "" { // Yeah, this will give slightly misleading info to // parser_registerCmd(), but that's OK, -- cgit v1.2.3