Re: documentation for committing with git

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: documentation for committing with git
Date: 2010-08-04 13:50:48
Message-ID: 4C597038.1050107@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 08/04/2010 09:29 AM, Heikki Linnakangas wrote:
>
> All those issues can be avoided if you only run "git gc" when all the
> working directories are in a clean state, with no staged but
> uncommitted changes or other funny things. I can live with that gun
> tied to my ankle ;-).

But to make sure of that I think you need to prevent git commands from
running gc automatically:

git config gc.auto 0

or possibly

git config --global gc.auto 0

And you'll need to make sure you run gc yourself from time to time.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2010-08-04 14:03:21 Re: Proposal / proof of concept: Triggers on VIEWs
Previous Message Marko Tiikkaja 2010-08-04 13:43:18 Re: Proposal / proof of concept: Triggers on VIEWs