In Lua, single line comments start with two minus characters
--. Codeberg’s diff web view seems to have problems showing removed Lua comment lines that start at the first column. Added comment lines or comment lines starting with indentation seem not to be affected.
$ git clone https://codeberg.org/sh2d/padrinoma.git $ git log -p fb32cf2 lua-modules/pdnm_nl_manipulation.lua
The latter command shows correctly:
diff --git a/lua-modules/pdnm_nl_manipulation.lua b/lua-modules/pdnm_nl_manipulation.lua index 1f485fd..3e73c04 100644 --- a/lua-modules/pdnm_nl_manipulation.lua +++ b/lua-modules/pdnm_nl_manipulation.lua @@ -59,7 +59,7 @@ --- Table for module identification (see below). +-- Table for module identification.
Watching the same commit at Codeberg,
fb32cf2f69 (scroll down to see file
lua-modules/pdnm_nl_manipulation.lua) the removed comment line is missing (ln. 62).
Guesswork: Problematic lines in the diff start with multiple minus characters
-. One minus character being diff’s removed line indicator and two introducing a Lua comment.