From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Craig Ringer <craig(at)2ndquadrant(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Jeremy Schneider <schneider(at)ardentperf(dot)com>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: show precise repos version for dev builds? |
Date: | 2017-10-13 23:50:33 |
Message-ID: | CAB7nPqRD7GjuhqDwBcwb3qeexMi22wBmCgxhh=42n3_Jq=4Jag@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Oct 14, 2017 at 4:47 AM, Robert Haas <robertmhaas(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2017-10-14 00:06:56 | Re: pg_control_recovery() return value when not in recovery |
Previous Message | Joe Conway | 2017-10-13 23:31:37 | Re: pg_control_recovery() return value when not in recovery |