From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikael Magnusson Subject: Re: [PATCH v3] Introduce BEL as shortcut to the tracked branch Date: Fri, 20 Mar 2009 13:53:20 +0100 Message-ID: <237967ef0903200553v58af40b5sfbfa0bbb1f9d96eb@mail.gmail.com> References: <200903181448.50706.agruen@suse.de> <20090320004029.GX23521@spearce.org> <20090320004450.GY23521@spearce.org> <3F6729A7-76FA-43F4-9538-D644B30576D7@wincent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: =?UTF-8?B?U2FudGkgQsOpamFy?= , Wincent Colaiuta , "Shawn O. Pearce" , Junio C Hamano , Petr Baudis , Andreas Gruenbacher , git@vger.kernel.org To: Johannes Schindelin X-From: git-owner@vger.kernel.org Fri Mar 20 13:54:54 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 1LkeFR-0000QD-Jk for gcvg-git-2@gmane.org; Fri, 20 Mar 2009 13:54:54 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753084AbZCTMxZ convert rfc822-to-quoted-printable (ORCPT ); Fri, 20 Mar 2009 08:53:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752345AbZCTMxY (ORCPT ); Fri, 20 Mar 2009 08:53:24 -0400 Received: from mail-ew0-f165.google.com ([209.85.219.165]:59346 "EHLO mail-ew0-f165.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbZCTMxX convert rfc822-to-8bit (ORCPT ); Fri, 20 Mar 2009 08:53:23 -0400 Received: by ewy9 with SMTP id 9so726115ewy.37 for ; Fri, 20 Mar 2009 05:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rcjpGL79qDvsTTsIhHXcbaIxY7qMtQ4UzXMBMPsSINU=; b=c2Mrj+k72rKzdGybAsuLMN5jN1BYqtcQQeTXm3AwdjF7LZfYu1WXAZ1Qf1Mlgfmyvz FePSk5Wc3ex9/FSVlUL6wXgCHPTGTBMQZGyMo8FyNlhggqYiW+vjIZmLFLOUfhL11A0X tYAk3NIRAOrlPsFToGIYoHC6i4s1keb1rzp/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Qf9arno5yuiTmea8G/5LCpUiRB+TrDFU23XEn8+ALJC2oGnpcPaSrt8fGDgpADhF98 OTodkS1Dk2d+NuAlHQhxyO0RFh1wRkP99+IWUmKK93DkAphTNqyL4A81CUFQPHvoE8qi n7vqM7Ud0g0BjLe1+eSXhUfgYwuLGOJMJDo9E= Received: by 10.210.67.4 with SMTP id p4mr2157495eba.50.1237553600497; Fri, 20 Mar 2009 05:53:20 -0700 (PDT) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: 2009/3/20 Johannes Schindelin : > Hi, > > On Fri, 20 Mar 2009, Santi B=C3=A9jar wrote: > >> 2009/3/20 Johannes Schindelin : >> >> > On Fri, 20 Mar 2009, Wincent Colaiuta wrote: >> > >> >> El 20/3/2009, a las 10:29, Johannes Schindelin escribi=C3=B3: >> >> >> >> >Often, it is quite interesting to inspect the branch tracked by = a >> >> >given branch. =C2=A0This patch introduces a nice notation to get= at the >> >> >tracked branch: 'BEL' can be used to access that tracked >> >> >branch. >> >> > >> >> >A special shortcut 'BEL' refers to the branch tracked by the cur= rent >> >> >branch. >> >> > >> >> >Suggested by Pasky and Shawn. >> >> >> >> What does BEL actually stand for? I read Shawn's suggestion, but = it's >> >> not immediately clear to me what "BEL" means. >> > >> > It is the ASCII "bell" character, 007 (I always wanted to write th= at >> > magic identifier into a patch). >> > >> > FWIW you could type it in a regular ANSI terminal using Control-v >> > Control-g. >> >> Can we use branch^{origin} instead? It is longer to type, but uses t= he >> same syntax as the ^{tree}, ^{commit}, ^{tag} and you don't have to = know >> how to produce the bell character. > > I think I addressed that issue already. =C2=A0(Summary: I do not like= it) > > Let me spell it out if it was not obvious yet: the BEL patch was mean= t as > a more or less funny reminder that the issue is not solved and that I= need > help. Would :%:foo work? I thought about the reserved prefix :/! , but :/!! isn't reserved so I don't think that would work. And it's pretty annoying to type too. --=20 Mikael Magnusson