Re: How to bypass the post-commit hook?
- From
- Jan Hudec <bulb@ucw.cz>
- Date
- Jan 14, 2008, 17:59 UTC
- Message-ID
- <20080114175951.GA5527@efreet.light.src>
- In-Reply-To
- <4778BB63.6080908@obry.net>
On Mon, Dec 31, 2007 at 10:50:27 +0100, Pascal Obry wrote:
Show 6 quoted lines
> Jan Hudec a écrit : > > By the way, what is your post-commit hook doing anyway? Modifying the work > > tree *after* a commit does not sound like a common thing to do. > > Or just trigger a build via a built robot or record a commit information > into an issue tracker...
That's not a case of "modifying a work tree *after* a commit".
There are many valid uses for post-commit hook and this is one of them. But like the others it does not modify versioned files. That was the issue discussed (and pre-commit indeed turned out a better match).
-- Jan 'Bulb' Hudec <bulb@ucw.cz>