Re: git svn and the post-receive hook

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: git list <git@...>
Date: Saturday, August 2, 2008 - 3:20 pm

Junio,


Exactly.


Notify the developer(s) about the problem(s).


Hum... Any hook is very specific to a project. That's why it is a hook 
and not a built-in command.

BTW, I do not see why this would be a problem with git-svn whereas the 
post-receive hook is fine for Git. In many projects rewriting history is 
not permitted but post-receive is quite handy to do some checks.

post-received receive 3 parameters:

   - sha before
   - sha after
   - refname

It is perfectly usable after a git-svn rebase.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git svn and the post-receive hook, Pascal Obry, (Sat Aug 2, 12:05 pm)
Re: git svn and the post-receive hook, Junio C Hamano, (Sat Aug 2, 2:43 pm)
Re: git svn and the post-receive hook, Pascal Obry, (Sat Aug 2, 3:20 pm)
Re: git svn and the post-receive hook, Junio C Hamano, (Sat Aug 2, 4:16 pm)
Re: git svn and the post-receive hook, Miklos Vajna, (Sat Aug 2, 4:45 pm)
Re: git svn and the post-receive hook, Miklos Vajna, (Sat Aug 2, 2:03 pm)