10 Sep
2013
10 Sep
'13
16:55
В Tue, 10 Sep 2013 13:20:51 +0100 Adam Spiers <aspiers@suse.com> пишет:
Andreas Schwab (schwab@suse.de) wrote:
For git you can also use the output from git describe, which is also monotonically increasing.
I'm pretty sure that's not correct. Did you test it? I think it depends on what tags the repo contains (if any), and which git describe options are being used.
Well ... if version V has commit V_C, then V-$(git rev-list --oneline --count V_C..HEAD)-g$(git log -n 1 --format=%h HEAD) should give the same result but without relying on tags, should not it? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org