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

Re: git svn and the post-receive hook

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 2, 2008, 18:22 UTC
Message-ID
<7v8wvfmg4q.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<489485BC.1020607@obry.net>
Pascal Obry <pascal@obry.net> writes:
Show 10 quoted lines
> At the moment it seems to me that the post-receive hook is not called
> when tracking a remove Subversion repository.
>
> I think it would be nice to call the post-receive hook at the end of:
>
>    $ git svn rebase
>
> Why I need this?
>
> I'd like to check ...
Wait a minute.

Isn't "git svn rebase" an operation that you do on your local repository, slurping the update from the other end and then replaying your change on top of it? If so, I think it falls into the same category as "post-fetch" hook which would run after you run fetch, if such a thing existed. See:

    http://thread.gmane.org/gmane.comp.version-control.git/79306/focus=79321
for the reason why we usually do not add such a hook on the local end.
Previous: Miklos VajnaNext: Junio C Hamano
Message 3 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.