Re: [PATCH RFC v3 1/3] last-modified: new subcommand to show when files were last modified
On Mon, Jun 30, 2025, at 20:49, Toon Claes wrote:
> + of the current working directory are included in the
> [snip]
> + * a final path/sha1 state. Note that this covers some
Show 17 quoted lines
> + * potentially controversial areas, including:
> + *
> + * 1. A rename or copy will be found, as it is the
> + * first time the content has arrived at the given
> + * path.
> + *
> + * 2. Even a non-content modification like a mode or
> + * type change will trigger it.
> + *
> + * We take the inclusive approach for now, and find
> + * anything which impacts the path. Options to tweak
> + * the behavior (e.g., to "--follow" the content across
> + * renames) can come later.
> + */
> + mark_path(p->two->path, &p->two->oid, data);
> + break;
> [snip]