From: Junio C Hamano Date: Sat, 02 Aug 2008 18:22:13 GMT Subject: Re: git svn and the post-receive hook Message-ID: <7v8wvfmg4q.fsf@gitster.siamese.dyndns.org> In-Reply-To: <489485BC.1020607@obry.net> Pascal Obry writes: > 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.