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.