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

Re: [PATCH] apply: squash consecutive slashes with p_value > 0

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 17, 2011, 18:07 UTC
Message-ID
<7vmxbumxls.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20111117175544.GC17472@mal.justgohome.co.uk>
Robie Basak <robie.basak@canonical.com> writes:
Show 5 quoted lines
> I'm now confused about what it will do (which is why I need to look at
> it again to make sure), but if it turns out to be easier to just handle
> that one boundary point, would you accept a patch that eliminates just
> that duplicate, on the basis that in Unix-land duplicate slashes are
> perfectly acceptable to be left lying around?

If that is the case, I would rather say we should even shoot for simpler. Just tell the patch generator not to include unneeded double slashes.

Previous: Robie BasakNext: Robie Basak
Message 4 of 5 in “apply: squash consecutive slashes with p_value > 0”
  1. apply: squash consecutive slashes with p_value > 0Robie Basak, Nov 16, 2011
  2. Junio C HamanoNov 16, 2011
  3. Robie BasakNov 17, 2011
  4. Junio C HamanoNov 17, 2011
  5. Robie BasakNov 17, 2011

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.