-
Notifications
You must be signed in to change notification settings - Fork 5
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
m5copy from etransfer branch does not show version #13
Comments
That happens when you switch from cvs to git... |
Yes it is the major PITA if you ask me. I have not found a proper way to get around this, other than the 'hack' I did by manually inserting |
The "industry standard" seems to be to report the abbreviated git hash and append a "-dirty" if there are local modifications. For example: U-Boot 2021.04-rc3-00180-g65fb72402c-dirty (Mar 14 2021 - 19:02:30 +0100) The 2021.04-rc3 bit may be based on a release (candidate) tag in this particular example. |
I think the problem isn't so much as to what to print as version but how to get the code to print that. How can you get a git controlled file to display it's own hash? At least that is the problem I can't figure out the solution to - without e.g. manually modifying the file and writing "a version" string in it before committing. |
After installing jive5ab from etransfer branch
I wanted to check m5copy version but apparently it is secret:
:)
The text was updated successfully, but these errors were encountered: