Hi Alvin,
Git doesn't have revision numbers, it just has hashes. In a way this is good, because you could theoretically prepend commits and the commit hash would stay the same.
The bad news is that it's not possible to get a solid rev number as such. You can add up all the revisions so far, but that isn't useful on the command line.
So we're stuck with non-chronological commit hashes.
Although we can also uses tags, which makes it a bit easier for the bigger revision markers.
Best Regards, Martin Owens
On Fri, 2017-06-23 at 04:21 -0700, alvinpenner wrote:
- currently, if I compile Inkscape from gitlab, it reports the rev
number as follows: Inkscape 0.92+devel unknown Are there any plans to include a rev number into this report?
- currently, if I execute git log, I get the following sequence of
commit numbers: commit 213013a5a08d37bd29da167eece256be75cebe7c commit 0868ec95edd45394fcf583bf3f1cfa311e8a4c1d commit f836a482511f299034e84f2e153f31698904f92b commit 27f13805c97fcb517982009e2bfb3fd9ad6e413f commit 6e1ecba04f030e650e12edec2ad7a57530c661e4 commit 506e737427861bc1d288c498723d63d56a8075ce commit 0edfdf950796befdb42ab9b2ef76c76483d9dbb1
where I have edited out the text info. I am not able to detect the chronological sequence of these numbers. I understand that the first 8 digits can be used as a shorthand, but these do not seem to be chronologically ordered either. For purposes of bug tracking it would be very helpful to be able to report a rev number that was chronologically ordered. Are there any plans to do so, or am I missing something really obvious here?
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/two-tr ivial-questions-concerning-the-gitlab-repository-tp4980326.html Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel