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

Re: git svn rebase does not call post-update hook

From
TKThomas Koch <thomas@koch.ro>
Date
Sep 25, 2008, 07:25 UTC
Message-ID
<200809250925.32194.thomas@koch.ro>
I think, I've found a kind of answer to my question in this thread:
http://kerneltrap.org/mailarchive/git/2008/8/2/2791714

It says, IMHO, that it is not intended, to call a hook during git svn rebase, since git svn commands are always operating on your local repo and one could easily wrap these commands in a custom script to do whatever necessary before or after the git svn command.

Am Tuesday 23 September 2008 15:45:46 schrieben Sie:
Show 11 quoted lines
> Hi,
>
> I've followed a blogpost[1] on how to set up a GIT mirror of a SVN repo.
> It works just fine, only that I've called the post-update hook manually
> so far. It won't get called by "git svn rebase".
> Yes, it is executable.
> Yes, git svn rebase does fetch updates and rebases master.
>
> [1] http://gsocblog.jsharpe.net/archives/12
>
> Thanks for your bandwidth,
-- 
Thomas Koch, Software Developer
http://www.koch.ro

Young Media Concepts GmbH
Sonnenstr. 4
CH-8280 Kreuzlingen
Switzerland

Tel    +41 (0)71 / 508 24 86
Fax    +41 (0)71 / 560 53 89
Mobile +49 (0)170 / 753 89 16
Web    www.ymc.ch
Message 1 of 1 in “Re: git svn rebase does not call post-update hook”
  1. Thomas KochSep 25, 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.