From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Santi_B=E9jar?= Subject: Re: [PATCHv2 2/2] pull: support rebased upstream + fetch + pull --rebase Date: Thu, 16 Jul 2009 10:15:51 +0200 Message-ID: References: <1247731921-2290-1-git-send-email-santi@agolina.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE To: git@vger.kernel.org, Junio C Hamano X-From: git-owner@vger.kernel.org Thu Jul 16 10:16:03 2009 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1MRM8I-0005AQ-LU for gcvg-git-2@gmane.org; Thu, 16 Jul 2009 10:16:03 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753630AbZGPIPz convert rfc822-to-quoted-printable (ORCPT ); Thu, 16 Jul 2009 04:15:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753439AbZGPIPy (ORCPT ); Thu, 16 Jul 2009 04:15:54 -0400 Received: from mail-bw0-f228.google.com ([209.85.218.228]:45351 "EHLO mail-bw0-f228.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753253AbZGPIPx convert rfc822-to-8bit (ORCPT ); Thu, 16 Jul 2009 04:15:53 -0400 Received: by bwz28 with SMTP id 28so1891775bwz.37 for ; Thu, 16 Jul 2009 01:15:51 -0700 (PDT) Received: by 10.204.119.76 with SMTP id y12mr8632920bkq.114.1247732151493; Thu, 16 Jul 2009 01:15:51 -0700 (PDT) In-Reply-To: <1247731921-2290-1-git-send-email-santi@agolina.net> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: 2009/7/16 Santi B=E9jar : > Use the fork commit of the current branch (where > the tip of upstream branch used to be) as the upstream parameter of > "git rebase". Compute it walking the reflog to find the first commit > which is an ancestor of the current branch. > > Signed-off-by: Santi B=E9jar > > Changed since v1: > =A0- rename reflist to remoteref to better reflect its use > =A0- (( $num + 1 )) Arg! It should not be in the commit message! Sorry. Junio, can you amend it if applied? Thanks Santi