On Mon, 14 Aug 2023 12:18:50 +0200 Christian Brabandt <[email protected]> wrote: > On Mo, 14 Aug 2023, Manfred Rosenboom wrote: > > Don't get each patch a related annotated tag anymore? > > I think we only used lightweight tags? So I only added those:
Not that it's super important, but I suggest strictly using annotated tags. Cannot recall the exact reasons, but last year my team and I faced multiple unrelated problems: all of them because of using lightweight tags instead of annotated ones. Here's what "git tag --help" has to say: > Annotated tags are meant for release while lightweight tags are meant > for private or temporary object labels. For this reason, some git > commands for naming objects (like git describe) will ignore > lightweight tags by default. I don't wanna be annoying. Just wanted to leaves a word that weird problems may pop up if using lightweight tags instead of annotated ones. -- Enan > ``` > chrisbra@debian ~/code/vim-upstream (git)-[master]- % git describe v9.0.1676 > fatal: No annotated tags can describe > '16abd997c99b1a40fb0ba54889ce0cf44d7585b4'. > However, there were unannotated tags: try --tags. > chrisbra@debian ~/code/vim-upstream (git)-[master]- % git describe v9.0.1712 > fatal: No annotated tags can describe > '5b0889b8bf25b0793b1949ec965c94b623900aba'. > However, there were unannotated tags: try --tags. > chrisbra@debian ~/code/vim-upstream (git)-[master]- % git cat-file -t > v9.0.1676 > commit > chrisbra@debian ~/code/vim-upstream (git)-[master]- % git cat-file -t > v9.0.1712 > commit > ``` > > > Best, > Christian -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/20230814202646.00004203%40gmail.com.
