The rev-tree thing just happened to work. It shouldn't have.
* as long as it is in the inode cache you get right nsec
* but after it gets flushed, you get zero nsec.
*/
- if (ce->ce_mtime.nsec != htonl(st->st_mtim.tv_nsec)
+ if (ce->ce_mtime.nsec != htonl(st->st_mtim.tv_nsec))
changed |= MTIME_CHANGED;
- if (ce->ce_ctime.nsec != htonl(st->st_ctim.tv_nsec)
+ if (ce->ce_ctime.nsec != htonl(st->st_ctim.tv_nsec))
changed |= CTIME_CHANGED;
#endif
char *arg = argv[i];
if (!strcmp(arg, "--cache")) {
- read_cache_file(argv[2]);
- i++;
+ read_cache_file(argv[++i]);
continue;
}