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

Re: [PATCH] common_prefix: be more careful about pathspec bounds

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 15, 2010, 09:05 UTC
Message-ID
<alpine.DEB.1.00.1006151104300.25388@bonsai2>
In-Reply-To
<201006151016.16492.trast@student.ethz.ch>
Hi,
On Tue, 15 Jun 2010, Thomas Rast wrote:
Show 12 quoted lines
> Thomas Rast wrote:
> > Normally this won't be a problem, which is probably why nobody has
> > noticed that this was broken since 2006.
> 
> Actually I just noticed it's not from back in 2006 when Linus wrote
> this code, but from the following:
> 
> commit c7f34c180b7117cf60ad12a8b180eed33716e390
> Author: Johannes Schindelin <Johannes.Schindelin@gmx.de>
> Date:   Mon Apr 23 10:21:25 2007 +0200
> 
>     dir.c(common_prefix): Fix two bugs

Sorry, my Git time budget for this week was 0 hours, so I used that up quite thoroughly. Besides, I do not know anything about the original issue, so there is little chance that I even would know where to start.

Ciao, Dscho

Previous: Thomas RastNext: Junio C Hamano
Message 3 of 8 in “common_prefix: be more careful about pathspec bounds”
  1. common_prefix: be more careful about pathspec boundsThomas Rast, Jun 10, 2010
  2. Thomas RastJun 15, 2010
  3. Johannes SchindelinJun 15, 2010
  4. Junio C HamanoJun 15, 2010
  5. Junio C HamanoJun 15, 2010
  6. Thomas RastJun 15, 2010
  7. Junio C HamanoJun 15, 2010
  8. common_prefix: simplify and fix scanning for prefixesThomas Rast, Jun 15, 2010

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.