Re: php-src is now on git

From: Date: Mon, 19 Mar 2012 23:14:58 +0000
Subject: Re: php-src is now on git
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message


On 03/19/2012 03:26 PM, Kris Craig wrote:
On Mon, Mar 19, 2012 at 3:07 PM, Christopher Jones< [email protected]> wrote:
On 03/19/2012 01:31 PM, Kris Craig wrote:
Here's what I wound-up doing: The merge entries on the workflow page now contain "--no-ff" and I added an entry to the FAQ about the merge.ff option available in newer clients. This way we should be covered either way. =) --Kris
Is this supported by the php-src repo? This is what I get after using --no-ff: $ git push origin To https://git.php.net/**repository/php-src.git<https://git.php.net/repository/php-src.git>
  ! [rejected]        PHP-5.3 ->  PHP-5.3 (non-fast-forward)
  ! [rejected]        PHP-5.4 ->  PHP-5.4 (non-fast-forward)
  ! [rejected]        master ->  master (non-fast-forward)
error: failed to push some refs to 'https://git.php.net/** repository/php-src.git<https://git.php.net/repository/php-src.git>' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details. -- Email: [email protected] Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/
That error can sometimes be misleading. I've noticed that it typically happens if you're trying to push a branch containing merged commits to a remote version of that branch that is newer than the one your commits were merged into (i.e. you forgot to do a git pull followed by a git rebase before doing the merge). I can't say for certain but that's a likely possibility that that's what happened in your case.
Could be. Thanks for the details. Chris -- Email: [email protected] Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/

Thread (38 messages)

« previous php.internals (#59073) next »