From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Obry Subject: Re: Finding the name of the parent branch? Date: Fri, 30 Jan 2009 15:06:12 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Git Mailing List To: =?ISO-8859-1?Q?Santi_B=E9jar?= X-From: git-owner@vger.kernel.org Fri Jan 30 15:15:05 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 1LSu92-0000Jz-Cw for gcvg-git-2@gmane.org; Fri, 30 Jan 2009 15:14:56 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753358AbZA3ONb (ORCPT ); Fri, 30 Jan 2009 09:13:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753306AbZA3ONb (ORCPT ); Fri, 30 Jan 2009 09:13:31 -0500 Received: from mail-bw0-f12.google.com ([209.85.218.12]:63245 "EHLO mail-bw0-f12.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753255AbZA3ONa (ORCPT ); Fri, 30 Jan 2009 09:13:30 -0500 X-Greylist: delayed 2235 seconds by postgrey-1.27 at vger.kernel.org; Fri, 30 Jan 2009 09:13:30 EST Received: by bwz5 with SMTP id 5so45722bwz.13 for ; Fri, 30 Jan 2009 06:13:27 -0800 (PST) Received: by 10.223.115.12 with SMTP id g12mr1080803faq.92.1233324372228; Fri, 30 Jan 2009 06:06:12 -0800 (PST) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Santi, Thanks for your patience! > gitk topicbranch ^trackingbranch > > But I agree that a way to refer to the tracking branch would be great, as: > > branch^{origin} > > so you can say, for example: > > gitk topicbranch ^topicbranch^{origin} That's exactly what I'm looking for! > At least part of. You have to understand the branch model: > > git model: > * a branch is just a pointer to a commit > * you cannot say "this commit was done in that branch" > * what you can say is "this commit is contained in that branch" The second point wasn't clear to me. I had 2 out of 3 OK :) Thanks. -- --|------------------------------------------------------ --| 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