Eric Wong <[email protected]> writes:

> @@ -21,7 +22,7 @@ static int prune_tmp_file(const char *fullpath)
>       struct stat st;
>       if (lstat(fullpath, &st))
>               return error("Could not stat '%s'", fullpath);
> -     if (st.st_mtime > expire)
> +     if (st.st_mtime > expire || st.st_ctime >= start)

That will also mean objects created (or their inode changed) up to a
second before the start of prune will not be removed.  For example,
objects ejected out of a pack by a previous repack may be affected.

Andreas.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to