diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-21 09:58:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-21 09:58:24 -0700 |
commit | 94dfb7f2e38fde5014fe50f9e74bde7d2d264184 (patch) | |
tree | 938d695a43c5f1f7be45e80c62e965bdcffb68c5 /read-cache.c | |
parent | c5bac17ad21c8e79fcca21c366832e75be095322 (diff) | |
download | git-94dfb7f2e38fde5014fe50f9e74bde7d2d264184.tar.gz git-94dfb7f2e38fde5014fe50f9e74bde7d2d264184.tar.xz |
Fix NSEC compile problem, and properly parse the rev-tree cmd line.
The rev-tree thing just happened to work. It shouldn't have.
Diffstat (limited to 'read-cache.c')
-rw-r--r-- | read-cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/read-cache.c b/read-cache.c index d1cc1e8c7..44a713aed 100644 --- a/read-cache.c +++ b/read-cache.c @@ -24,9 +24,9 @@ int cache_match_stat(struct cache_entry *ce, struct stat *st) * 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 |