On Tue, 2014-06-10 at 20:24 +0700, Nguyễn Thái Ngọc Duy wrote:
> + loop(sb.buf, 600);
...
> + if (st->st_mtime + 600 < time(NULL))
s/600/INDEX_HELPER_TIMEOUT/ or something.
> + return; /* don't try to read from stale .pid file */
> +
> + fd = open(git_path("read-cache--daemon.pid"), O_RDONLY);
should be index-helper.pid (actually, there are a few other instances of
this as well); maybe make it a constant.
--
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