[git] karma.git branch master updated. 770cbc6

From: Date: Tue, 24 Jan 2012 12:44:44 +0000
Subject: [git] karma.git branch master updated. 770cbc6
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-67521@lists.php.net to get a copy of this message
The branch, master on karma.git has been updated discards 5f74dfca3e51d9529ba499017c887d076a9eb9b3 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (5f74dfca3e51d9529ba499017c887d076a9eb9b3) \ N -- N -- N (770cbc68a48b233fed001a580a12e1f414991095) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. http://git.php.net/?p=karma.git;a=log;h=770cbc68a48b233fed001a580a12e1f414991095;hp=5f74dfca3e51d9529ba499017c887d076a9eb9b3 Summary of changes: hooks/post-receive.mirror | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- Log ---------------------------------------- commit 770cbc68a48b233fed001a580a12e1f414991095 Author: David Soria Parra <dsp@php.net> Date: Tue Jan 24 13:15:27 2012 +0100 Calculate pathes based on the repodir diff --git a/hooks/post-receive.mirror b/hooks/post-receive.mirror index 450da6a..dcb2d9c 100755 --- a/hooks/post-receive.mirror +++ b/hooks/post-receive.mirror @@ -13,10 +13,7 @@ echo "Attempting to push to mirror" if $(echo $target | grep -q "REPO"); then -# if [ -z "$GL_REPO" ]; -# then - GL_REPO=$(pwd | perl -e '<> =~ /([^\/]+)\.git$/; print $1;'); -# fi + GL_REPO=$(pwd | perl -e '<> =~ /\/git\/repositories\/(.*?)\.git$/; print $1;';) # Support a REPO variable for wildcard mirrors target=$(echo $target | sed -e "s,REPO,$GL_REPO,g") fi Thank you for your contribution.

« previous php.cvs (#67521) next »