Re: [dev] surf release?

From: Markus Teich <markus.teich_AT_stusta.mhn.de>
Date: Mon, 1 Jun 2015 22:29:21 +0200

Greg Reagle wrote:
> To follow up on my suggestion to use a git commit as a version, the
> following command in fish automatically produces a version number:
> date --date (git log -1 --pretty=format:%aD) -u +%Y.%m.%d.%H.%M.%S
>
> In bash, it would be:
> date --date "$(git log -1 --pretty=format:%aD)" -u +%Y.%m.%d.%H.%M.%S

Heyho Greg,

git timestamps are not guaranteed to be monotonic. Also there could be two
commits with the same timestamp.

--Markus
Received on Mon Jun 01 2015 - 22:29:21 CEST

This archive was generated by hypermail 2.3.0 : Mon Jun 01 2015 - 22:36:18 CEST