-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] version by author or commit date-time #260
Comments
Can you make an example (on a real repo) of how you checkout a commit given this style of version? Thanks! |
There is another issue with the picture of the commits graph: NirmalScaria/le-git-graph#44 I use tagged commits out of branch to freeze versions. The time can be taken from the commit in a branch ( |
This seems like a misuse of git. What happens if two commits have the same author date? Git commit hashes are supposed to be unique, but timestamps are not.
Why not just use tags? |
Probability of the same timestamp of 2 different commits in a branch is pretty low. As I said the hash can not exist after rewrite. The author timestamp more reliable than the commit hash in such situation.
I am. |
I'm not currently a maintainer, but this feature request is very specific to your workflow. Feel free to submit a pull request and we can take a look, but again it might not necessarily be accepted given that this is such a specific feature. Note that vcstool features should generally apply to/support all supported version control systems, if applicable. |
For example, a dependency repository can be rewritten and lose the connection by the commit hash. But basically the commit author date stays intact.
To avoid dependency breakage is useful to add a date-time version:
Or more detailed:
This additionally can help to fix this issue: #243
The text was updated successfully, but these errors were encountered: