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

Re: [PATCH 0/3] Add a function skip_prefix_if_present()

From
Jeff King <peff@peff.net>
Date
Feb 5, 2014, 17:26 UTC
Message-ID
<20140205172651.GC7268@sigill.intra.peff.net>
In-Reply-To
<52F1E04D.3090208@alum.mit.edu>
On Wed, Feb 05, 2014 at 07:55:09AM +0100, Michael Haggerty wrote:
Show 15 quoted lines
> * René Scharfe submitted a patch to use a function parse_prefix()
>   (originally suggested by Peff) instead of Duy's suggested approach:
> 
>       http://article.gmane.org/gmane.comp.version-control.git/239569
> 
>   His patch appears to have been overlooked.
> 
> * Duy seemed to offer to rewrite his patch series, but I don't think
>   that it has happened yet.
> 
> And then the conversation was drowned by Christmas eggnog.
> 
> I don't have a strong feeling about (Duy's proposal plus my patches) vs.
> (René's parse_prefix() approach).  But I definitely *do* like the idea
> of getting rid of all those awkward magic numbers everywhere.

FWIW, after coming down off my eggnog bender, I think I still prefer René's (my?) approach.

-Peff
Previous: Michael HaggertyNext: Duy Nguyen
Message 6 of 7 in “Add a function skip_prefix_if_present()”
  1. 0/3 Add a function skip_prefix_if_present()Michael Haggerty, Feb 5, 2014
  2. 1/3 Add and use a function skip_prefix_if_present()Michael Haggerty, Feb 5, 2014
  3. 2/3 diff_scoreopt_parse(): use skip_prefix_if_present()Michael Haggerty, Feb 5, 2014
  4. 3/3 rev_is_head(): use skip_prefix()Michael Haggerty, Feb 5, 2014
  5. Michael HaggertyFeb 5, 2014
  6. Jeff KingFeb 5, 2014
  7. Duy NguyenFeb 6, 2014

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.