summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2021-02-01 17:30:52 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2021-02-01 18:16:11 -0700
commitc3c1e51d8a2577a5f008dd7240ea6c509af2cd98 (patch)
treeea4c5eed10bbfb31b2f0d6bc7cb2db4ff100c8ab
parentf547a14704d3b25b8e0e015cbcbdd1de5ba953c7 (diff)
Bring up to git.git commit a63c54a019138c7aaa4624f48284722664428b15
-rw-r--r--cmd_comment.go6
1 files 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,