On Tue, Oct 20, 2020 at 03:16:49PM +0800, Wu Fengguang wrote:
前期调研不够给力。 这个可以大幅简化逻辑:
wfg /c/linux% git tag --points-at f4d51dffc6c01a9e94650d95ce0104964f8ae822|cat v5.9-rc4
Just google "git get tag of a commit"
https://stackoverflow.com/questions/2324195/how-to-get-tags-on-current-commit
Yes, it's a good way. Thanks
Thanks, Yuanchao