git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Sixt <j.sixt@viscovery.net>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Git Mailing List <git@vger.kernel.org>,
	Junio C Hamano <gitster@pobox.com>
Subject: Re: [RFD} Use regex's in :/ revision naming machinery
Date: Tue, 06 Apr 2010 09:55:48 +0200	[thread overview]
Message-ID: <4BBAE904.6010105@viscovery.net> (raw)
In-Reply-To: <alpine.LFD.2.00.1004051551180.21411@i5.linux-foundation.org>

Am 4/6/2010 1:00, schrieb Linus Torvalds:
> I never use ':/', and part of it is that it's so horribly cumbersome. I'd 
> _like_ to use it to do things like 
> 
> 	gitk :/slabh..

Rhethoric question: Do you mean history _starting_ at the commit that
contains "slabh" or _ending_ at the commit that contains "slabh" followed
by two arbitrary characters?

If :/ is pattern-ized in some way, then IMO pattern matching syntax would
be more use-friendly than (extended) regular expresssions, particluarly
also because the single-character wildcard would be ? and avoid the
otherwise overloaded dot.

-- Hannes

  parent reply	other threads:[~2010-04-06  7:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-05 23:00 [RFD} Use regex's in :/ revision naming machinery Linus Torvalds
2010-04-06  1:51 ` Junio C Hamano
2010-04-06  2:08   ` Junio C Hamano
2010-04-06  2:15   ` Linus Torvalds
2010-04-06  4:31 ` Jeff King
2010-04-06  7:55 ` Johannes Sixt [this message]
2010-04-06 14:19   ` Linus Torvalds
2010-04-07  1:04     ` Nazri Ramliy
  -- strict thread matches above, loose matches on Subject: below --
2010-04-06  7:02 Yann Dirson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BBAE904.6010105@viscovery.net \
    --to=j.sixt@viscovery.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).