Re: Patch to add GIT support

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>, Robert Haas <robert(dot)haas(at)enterprisedb(dot)com>
Subject: Re: Patch to add GIT support
Date: 2010-06-25 17:49:51
Message-ID: 4C24EC3F.4090903@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Le 25/06/2010 18:36, Dave Page a écrit :
> The attached patch to the build system adds the ability for version
> stamping to happen either when working in an SVN repo or GIT repo. In
> an SVN repo, it will stamp the repo version number, such as 2134:2137M
> as the current code does. In a GIT repo, it'll stamp the short version
> of the last commit hash - eg. 42c03da.
>
> Thanks to some^Wa lot of help from Robert Haas, it also manages to fix
> the old problem in which the build system always thought that the
> svnversion.h header had changed, thus resulting in svnversion.cpp
> being recompiled and everything being relinked, regardless of whether
> anything actually did change.
>
> I need to do something similar for VC++, but does anyone object to
> this? The intention is to apply it to all important branches so when
> we move to GIT, they'll just work.
>

No objection at all. It is just great :)

--
Guillaume
http://www.postgresql.fr
http://dalibo.com

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Erwin Brandstetter 2010-06-26 11:54:26 Re: Create Table Dialog: Change Column after creation/Reorder Columns
Previous Message Dave Page 2010-06-25 16:36:34 Patch to add GIT support