Commit Diff


commit - 11495e04177c42cbbbab8416171bad777b37e5d0
commit + fd7a136d02efc789a2092aa294d1d5d7c30538e8
blob - 00d0c3d33f32b5ed169dceb648b0510592e24488
blob + 73f02adce16146620f98994012b197bab174c16c
--- lib/worktree.c
+++ lib/worktree.c
@@ -1074,7 +1074,6 @@ get_file_status(unsigned char *status, struct stat *sb
 	if (ie->ctime_sec == sb->st_ctime &&
 	    ie->ctime_nsec == sb->st_ctimensec &&
 	    ie->mtime_sec == sb->st_mtime &&
-	    ie->mtime_sec == sb->st_mtime &&
 	    ie->mtime_nsec == sb->st_mtimensec &&
 	    ie->size == (sb->st_size & 0xffffffff))
 		return NULL;