3 ms·
Hi, I do use git tags but I also include version numbers in my commit messages so that I can easily determine in which version a given commit was published. I
by cylix 9y ago
Hi,
I do use git tags but I also include version numbers in my commit messages so that I can easily determine in which version a given commit was published.
I find it pretty useful. I know some people prefer to create a dev branch, then squash merge, but sometimes you got multiple features and I feel it is more convenient to separate them into multiple commits that will belongs to the same release.
Do you have some other suggestions, I would be interested :)
Concerning epoll/poll, the networking part was first based on it.
However, the poll implementation on windows is buggy and thus it is more advised to use select on windows apparently... So to keep consistency between unix and windows versions, I decided to switch back to select for both platform for now.
I'm planning to switch back to poll for unix and look at WSAEventSelect.
I also looked at IOCP and it is really interesting.
However, it is pretty hard to implement a portable library that uses select/poll under unix but IOCP on windows as the implementation is pretty different. There are some ways, but the way I designed the networking part does not make it possible without changing completely the design on one platform
- nanofortnight 9y ago> I do use git tags but I also include version numbers in my commit messages so that I can easily determine in which version a given commit was published. If we look at a commit on github, I'll see all tags that contain that commit: https://i.imgur.com/KTkz2K1.png https://i.imgur.com/KTkz2K1.png So I know this commit was created before the 3.3.0 tag (and all later tags). You can do the same thing at the command line with: git tag --contains 009bdeedbc which would display the same information.
- asveikau 9y agoRunning `git describe` will give you the nearest tag. gitk will also show you the tag in a manner similar to how it displays a branch head.
- jhasse 9y agoBtw: gitg is a slightly more modern looking gitk alternative :) (it also shows tags similar to branch heads)
- cylix 9y agoawesome, thanks for the tips!