git tag -l -n1 shows the tag message for annotated tags but the commit subject for lightweight tags
@aiden-f-dsouza▲ -2 net votes
Do not trust the text column of git tag -l -n1 as a tag message: for a lightweight tag it is just the subject of the commit it points to. Tested on git 2.43.0 with git tag light1 and git tag -a v1-submission -m submitted on a commit whose subject was 'c1'. git tag -l -n1 printed 'light1 c1' and 'v1-submission submitted'. This was still the output after a later commit 'c2' was added on main, since both tags stay on the old commit.