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

Re: [PATCH] Break down no-lstat() condition checks in verify_uptodate()

From
Clemens Buchacher <drizzd@aon.at>
Date
Jul 30, 2011, 16:22 UTC
Message-ID
<20110730162258.GC7545@toss.lan>
In-Reply-To
<1311998105-6267-1-git-send-email-pclouds@gmail.com>
On Sat, Jul 30, 2011 at 10:55:05AM +0700, Nguyễn Thái Ngọc Duy wrote:
Show 6 quoted lines
>
> +	/*
> +	 * CE_VALID and CE_SKIP_WORKTREE cheat, we better check again
> +	 * if this entry is truely uptodate because this file may be
> +	 * overwritten.
> +	 */
s/truely/truly
> +	if ((ce->ce_flags & CE_VALID) || ce_skip_worktree(ce))
> +		; /* keep checking */
> +	else if (o->reset || ce_uptodate(ce))
>  		return 0;
Nice! Acked-by: Clemens Buchacher <drizzd@aon.at>
Previous: Nguyễn Thái Ngọc Duy
Message 2 of 2 in “Break down no-lstat() condition checks in verify_uptodate()”
  1. Break down no-lstat() condition checks in verify_uptodate()Nguyễn Thái Ngọc Duy, Jul 30, 2011
  2. Clemens BuchacherJul 30, 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.