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

Re: [PATCH] cache_tree_find(): remove redundant check in while condition

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Mar 3, 2014, 17:07 UTC
Message-ID
<5314B6E4.7030607@alum.mit.edu>
In-Reply-To
<87a9d7kztm.fsf@fencepost.gnu.org>
On 03/03/2014 05:32 PM, David Kastrup wrote:
Show 8 quoted lines
> [...]
> So perhaps all of that should just be
> 
> 		while (*slash == '/')
> 			slash++;
> 		if (!*slash)
> 			return it;
> 

I just fixed a little thing that caught my eye. You OWNED it. You are absolutely right.

Will you prepare a patch or would you like me to do it?
Michael
-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Previous: David KastrupNext: David Kastrup
Message 3 of 4 in “cache_tree_find(): remove redundant check in while condition”
  1. cache_tree_find(): remove redundant check in while conditionMichael Haggerty, Mar 3, 2014
  2. David KastrupMar 3, 2014
  3. Michael HaggertyMar 3, 2014
  4. David KastrupMar 3, 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.