From: Johannes Schindelin Date: Mon, 03 Dec 2007 10:55:15 GMT Subject: Re: [PATCH/RFC] Use regex for :/ matching Message-ID: In-Reply-To: <20071203043258.GA16658@coredump.intra.peff.net> Hi, On Sun, 2 Dec 2007, Jeff King wrote: > The sha1 syntax :/ used to be a strict prefix match. > Instead, let's use a regular expression, which can save on > typing. E.g., > > git show :/"object name: introduce ':/'" > > vs > > git show :/introduce..:/.oneline Heh: http://repo.or.cz/w/git/dscho.git?a=commitdiff;h=2546cd9732bb8d4bc1d2485ba7bbc1d5c8bac935 Except that I did not support ".." (does yours?), _and_ that my patch is not as nice as yours. But then, my patch also works when save_commit_buffer == 0. But I can refactor this into its own patch, since it really is a separate issue. Ciao, Dscho