From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: documentation for committing with git |
Date: | 2010-08-04 10:32:11 |
Message-ID: | AANLkTinHFg7rNCkFqXdGBd40wQm6cKdT5MJfZNiqo-4z@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Aug 1, 2010 at 5:08 AM, Heikki Linnakangas
<heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> I'm a bit disappointed that the wiki page advises against git-new-workdir -
> that's exactly what I was planning to use. It claims there's data loss
> issues with that, does someone know the details? Is there really a risk of
> data loss if multiple workdirs are used, in our situation?
As I understand it, there is a risk of corruption if you ever do "git
gc" in the respository that the get-new-workdir was spawned from. See
also Daniel Farina's email, here:
http://archives.postgresql.org/pgsql-hackers/2010-07/msg01489.php
It's not easy for me to mentally verify that the way I work won't
cause problems with this approach, but you may feel differently, and
that's fine.
> PS. I highly recommend always using "git push --dry-run" before the real
> thing, to make sure you're not doing anything funny.
Ah, that sounds like a good idea.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-08-04 10:34:25 | Re: tracking inherited columns (was: patch for check constraints using multiple inheritance) |
Previous Message | Thom Brown | 2010-08-04 10:03:52 | Re: string_agg delimiter having no effect with order by |