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

From Michael Paquier
Subject Re: [HACKERS] show precise repos version for dev builds?
Date
Msg-id CAB7nPqRD7GjuhqDwBcwb3qeexMi22wBmCgxhh=42n3_Jq=4Jag@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] show precise repos version for dev builds?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Sat, Oct 14, 2017 at 4:47 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> 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.

Similarly to Peter, I prefer a minimum amount of information so I tend
to just use `git rev-parse --short HEAD` with --extra-version for my
own builds. Looking at the timestamp of the files installed is enough
to know when you worked on them, and when testing a patch and
committing it on a local branch before compiling you can know easily
where you left things off. git branch --contains is also useful to get
from which branch is commit from.
-- 
Michael


-- 
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: Joe Conway
Date:
Subject: Re: [HACKERS] pg_control_recovery() return value when not in recovery
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] pg_control_recovery() return value when not in recovery