git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] diff: add ruby funcname pattern

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 1, 2008, 08:20 UTC
Message-ID
<7v4p65tadh.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<cb7bb73a0808010111j29e2085etd58150037b55063c@mail.gmail.com>
"Giuseppe Bilotta" <giuseppe.bilotta@gmail.com> writes:
Show 18 quoted lines
> On Fri, Aug 1, 2008 at 9:30 AM, Junio C Hamano <gitster@pobox.com> wrote:
> ...
>> so I'll wait for a few days to hear any one of the
>> following happen before deciding what to do with this patch:
>>
>>  (1) Yeah, this is a sufficient and necessary set of keywords, and it
>>     would make my Ruby life so much better;
>>
>>  (2) This might be a good start but you need to cover this and that
>>     keywords as well;
>>
>>  (3) This will misidentify a line that is not the beginning of a
>>     definition, and should not be applied;
>>
>> Needless to say, "Here is a better patch" is appreciated if somebody says
>> (2) or (3).
>
> I wasn't sure about the completeness of the regexp myself, which is

Well, I forgot to say but the above was soliciting third party review; original submitter does not count ;-)

... nah, I am just joking.

All of the things you said in the message I am responding to are good background information. It would have been nicer if it were part of the initial message, perhaps below the three dash lines, which would have avoided this extra exchange.

Thanks again for the patch. Somewhere I heard that there are 10 Rubyista git users for every non Rubyista git user, so I am sure somebody would comment on your patch in a day or two. Perhaps we might even get Python and Perl hunk patterns (although I suspect Perl people are happy with the default one we stole from GNU diff) to go with it ;-).

Previous: Giuseppe BilottaNext: Giuseppe Bilotta
Message 4 of 14 in “diff: add ruby funcname pattern”
  1. diff: add ruby funcname patternGiuseppe Bilotta, Jul 31, 2008
  2. Junio C HamanoAug 1, 2008
  3. Giuseppe BilottaAug 1, 2008
  4. Junio C HamanoAug 1, 2008
  5. Giuseppe BilottaAug 1, 2008
  6. Jeff KingAug 1, 2008
  7. Kevin BallardAug 2, 2008
  8. Junio C HamanoAug 2, 2008
  9. Giuseppe BilottaAug 2, 2008
  10. Kevin BallardAug 2, 2008
  11. Giuseppe BilottaAug 2, 2008
  12. Johannes SchindelinAug 2, 2008
  13. Giuseppe BilottaAug 2, 2008
  14. Lee MarlowAug 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.