Re: ':/<oneline prefix>' notation doesn't support full file syntax

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eric Raible <raible@...>
Cc: Junio C Hamano <gitster@...>, <git@...>, <Johannes.Schindelin@...>, <danahow@...>
Date: Thursday, July 3, 2008 - 2:27 pm

On Thu, Jul 3, 2008 at 1:50 AM, Eric Raible <raible@gmail.com> wrote:

In part you are proposing this because it is a consistent extension.
But a problem with the current :/string is that it adds 2nd meanings
to both : and / ,
which is not all that consistent to start with.

Last year Junio proposed that :/ be changed to ?
to eliminate the overloading;  thus your proposal becomes:
  ?string:filename
He chose ? because it results in a search backwards through commits.
(You could make that ?string?:filename if you prefer,  where the 2nd ?
 is only needed if you include a filename.)

I was surprised to see Dscho advocating removing this feature altogether.
Others proposed other command sequences which avoided :/ .
If :/ is now going to be extended and thus perhaps more likely to
appear in scripts,
is now the time to change it to ? which has no other special meaning to git?

Thanks,
-- 
Dana L. How danahow@gmail.com +1 650 804 5991 cell
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: ':/<oneline prefix>' notation doesn't support full..., Dana How, (Thu Jul 3, 2:27 pm)
Re: ':/&lt;oneline prefix&gt;' notation doesn't support full..., Johannes Schindelin, (Thu Jul 3, 8:33 pm)
Re: ':/&lt;oneline prefix&gt;' notation doesn't support full..., Johannes Schindelin, (Thu Jul 3, 8:38 am)