Re: Post-update hook problems
- From
Frank Lichtenheld <frank@lichtenheld.de>
- Date
- Oct 5, 2007, 12:08 UTC
- Message-ID
- <20071005120850.GM31659@planck.djpig.de>
- In-Reply-To
- <930d91430710050427o79395023nffe3bd842a87cddb@mail.gmail.com>
On Fri, Oct 05, 2007 at 12:27:22PM +0100, Geoffrey Ferrari wrote:
Show 7 quoted lines
> -- > fatal: Not a git repository: '.' > Failed to find a valid git directory. > -- > > Can anyone explain why this happens? And how can I make the script > work properly?
I'm no hook expert, but it may have something to do with some environment variables that are set in hooks, you might need to change variables like GIT_DIR.
Gruesse,
-- Frank Lichtenheld <frank@lichtenheld.de> www: http://www.djpig.de/