On Sat, 2017-02-25 at 10:56 +0100, Ivo Raisr wrote:
> Indeed, svn related commands must be replaced with git ones.

FYI I use something like this to generate an ID for my version strings:

  sha=$(git rev-parse --short=10 HEAD)

Or in GNU make:

  SHA := $(shell git rev-parse --short=10 HEAD)

This prints the first 10 characters of the SHA (or more, if that's not
unique), which is quite sufficient.  For a repo with far less changes
(our repos get up to 10 or commits to master HEAD per day almost every
day) you might be able to get away with a smaller number like 7 or so,
if you'd prefer.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to