Re: [HACKERS] show precise repos version for dev builds? - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: [HACKERS] show precise repos version for dev builds?
Date
Msg-id alpine.DEB.2.20.1710140721020.13834@lancre
Whole thread Raw
In response to Re: [HACKERS] show precise repos version for dev builds?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Hello Robert,

> Mmph.  I understand the desire to identify the exact commit used for a
> build somehow, but something whose output depends on whether or not I
> left a branch lying around locally doesn't seem that great.

Indeed, the branch/tag search might have a little strange behavior.

Probably you would be more happy with just the commit (--always) & knowing 
that it was changed (--dirty).
 sh> git describe --always --dirty b81eba6
 sh> vi README # edit
 sh> git describe --always --dirty b81eba6-dirty

-- 
Fabien.


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: [HACKERS] SIGSEGV in BRIN autosummarize
Next
From: legrand legrand
Date:
Subject: Re: [HACKERS] Continuous integration on Windows?