Re: git svn and the post-receive hook
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Aug 2, 2008, 18:03 UTC
- Message-ID
- <20080802180319.GZ32057@genesis.frugalware.org>
- In-Reply-To
- <489485BC.1020607@obry.net>
On Sat, Aug 02, 2008 at 06:05:16PM +0200, Pascal Obry <pascal@obry.net> wrote:
> At the moment it seems to me that the post-receive hook is not called when > tracking a remove Subversion repository.
Sure. From the "post-receive" hook documentation:
"This hook is invoked by 'git-receive-pack' on the remote repository, which happens when a 'git-push' is done on a local repository."
And git svn will never invoke git receive-pack.
> I think it would be nice to call the post-receive hook at the end of: > > $ git svn rebase
What about a post-rebase hook, like there is a post-merge one?
> I have zero experience with Perl so I do not feel like hacking this myself.
git rebase is shell. ;-)