git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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. ;-)
Previous: Pascal ObryNext: Junio C Hamano
Message 2 of 7 in “git svn and the post-receive hook”
  1. Pascal ObryAug 2, 2008
  2. Miklos VajnaAug 2, 2008
  3. Junio C HamanoAug 2, 2008
  4. Junio C HamanoAug 2, 2008
  5. Pascal ObryAug 2, 2008
  6. Junio C HamanoAug 2, 2008
  7. Miklos VajnaAug 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.